mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 12:21:11 +00:00
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:
parent
cf0a37304e
commit
59c88abfa0
1 changed files with 2 additions and 1 deletions
|
@ -1386,10 +1386,11 @@ titleWithRepresentedFilename(NSString *representedFilename)
|
||||||
{
|
{
|
||||||
return 1.0;
|
return 1.0;
|
||||||
}
|
}
|
||||||
else
|
else if (_screen != nil)
|
||||||
{
|
{
|
||||||
return [_screen userSpaceScaleFactor];
|
return [_screen userSpaceScaleFactor];
|
||||||
}
|
}
|
||||||
|
return 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSInteger) gState
|
- (NSInteger) gState
|
||||||
|
|
Loading…
Reference in a new issue