Author: dpsimons
Date: Sat Apr 26 07:08:24 2014
New Revision: 37811
URL: http://svn.gna.org/viewcvs/gnustep?rev=37811&view=rev
Log:
fix root cause of NaN sizes
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=37811&r1=37810&r2=37811&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m Sat Apr
26 07:08:24 2014
@@ -1386,10 +1386,11 @@
{
return 1.0;
}
- else
+ else if (_screen != nil)
{
return [_screen userSpaceScaleFactor];
}
+ return 1.0;
}
- (NSInteger) gState
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs