r=brendan, a=brendan
Using wrong identifier to get screen width and height
This commit is contained in:
mkaply%us.ibm.com 2000-09-21 01:26:00 +00:00
Родитель d0813c7d8d
Коммит e916076307
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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