mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
[deviceDescription] call new function GSResolutionForScreen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11859 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cc07289a95
commit
919986d571
1 changed files with 2 additions and 2 deletions
|
@ -240,8 +240,8 @@ static NSMutableArray *screenArray = nil;
|
|||
forKey: NSDeviceSize];
|
||||
|
||||
// Add the NSDeviceResolution dictionary item
|
||||
screenResolution.width = 72; // This is a fixed value for screens.
|
||||
screenResolution.height = 72; // All screens I checked under OS4.2 report 72.
|
||||
screenResolution = GSResolutionForScreen([NSApp context],
|
||||
_screenNumber);
|
||||
[devDesc setObject: [NSValue valueWithSize: screenResolution]
|
||||
forKey: NSDeviceResolution];
|
||||
|
||||
|
|
Loading…
Reference in a new issue