fix root cause of NaN sizes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37811 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2014-04-26 05:08:24 +00:00
parent cf0a37304e
commit 59c88abfa0

View file

@ -1386,10 +1386,11 @@ titleWithRepresentedFilename(NSString *representedFilename)
{
return 1.0;
}
else
else if (_screen != nil)
{
return [_screen userSpaceScaleFactor];
}
return 1.0;
}
- (NSInteger) gState