Author: dpsimons
Date: Wed Apr 16 16:14:18 2014
New Revision: 37798

URL: http://svn.gna.org/viewcvs/gnustep?rev=37798&view=rev
Log:
roll back change to _screenForFrame: which could make it return nil

Modified:
    libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m

Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m?rev=37798&r1=37797&r2=37798&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m        
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m        Wed Apr 
16 16:14:18 2014
@@ -389,7 +389,7 @@
 */
 - (NSScreen *) _screenForFrame: (NSRect)frame
 {
-  NSInteger  largest   = 0;
+  NSInteger  largest   = -1;
   NSArray   *screens   = [NSScreen screens];
   NSInteger  index     = 0;
   NSScreen  *theScreen = nil;


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to