adium 2106:93eace207ab3: Doh, forgot to test that one. Fix build

commits at adium.im commits at adium.im
Thu May 7 00:50:25 UTC 2009


details:	http://hg.adium.im/adium/rev/93eace207ab3
revision:	2106:93eace207ab3
author:		David Smith <catfish.man at gmail.com>
date:		Wed May 06 17:50:21 2009 -0700

Doh, forgot to test that one. Fix build

diffstat:

 Source/AIListWindowController.m |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 03fdedb44c06 -r 93eace207ab3 Source/AIListWindowController.m
--- a/Source/AIListWindowController.m	Wed May 06 17:49:26 2009 -0700
+++ b/Source/AIListWindowController.m	Wed May 06 17:50:21 2009 -0700
@@ -868,9 +868,10 @@
 - (NSScreen *)screenForPoint:(NSPoint)point
 {
 	for (NSScreen *pointScreen in [NSScreen screens]) {
-		if (NSPointInRect(point, NSInsetRect([screen frame], -1, -1)))
+		if (NSPointInRect(point, NSInsetRect([pointScreen frame], -1, -1)))
 			return pointScreen;
 	}
+	return nil;
 }	
 
 - (NSRect)squareRectWithCenter:(NSPoint)point sideLength:(CGFloat)sideLength




More information about the commits mailing list