[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:
Fred Kiefer 2001-12-21 00:49:37 +00:00
parent cc07289a95
commit 919986d571

View file

@ -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];