More code cleanup
This commit is contained in:
mkaply%us.ibm.com 2006-01-11 21:27:58 +00:00
Родитель a3444008f5
Коммит edcc49b723
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -88,7 +88,7 @@ nsScreenOS2 :: GetPixelDepth(PRInt32 *aPixelDepth)
HPS hps = ::WinGetScreenPS( HWND_DESKTOP);
HDC hdc = GFX (::GpiQueryDevice (hps), HDC_ERROR);
::DevQueryCaps(hdc, CAPS_COLOR_BITCOUNT, 1, &lCap);
GFX (::DevQueryCaps(hdc, CAPS_COLOR_BITCOUNT, 1, &lCap), FALSE);
*aPixelDepth = (PRInt32)lCap;