mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
r=brendan, a=brendan Using wrong identifier to get screen width and height
This commit is contained in:
parent
d0813c7d8d
commit
e916076307
@ -54,7 +54,7 @@ nsScreenOS2 :: GetRect(PRInt32 *outLeft, PRInt32 *outTop, PRInt32 *outWidth, PRI
|
||||
HPS hps = WinGetScreenPS( HWND_DESKTOP);
|
||||
HDC hdc = GpiQueryDevice( hps);
|
||||
|
||||
DevQueryCaps(hdc, CAPS_HORIZONTAL_RESOLUTION, 2, alArray);
|
||||
DevQueryCaps(hdc, CAPS_WIDTH, 2, alArray);
|
||||
|
||||
*outTop = 0;
|
||||
*outLeft = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user