diff src/device-msw.c @ 267:966663fcf606 r20-5b32

Import from CVS: tag r20-5b32
author cvs
date Mon, 13 Aug 2007 10:26:29 +0200
parents 727739f917cb
children b2472a1930f2
line wrap: on
line diff
--- a/src/device-msw.c	Mon Aug 13 10:25:39 2007 +0200
+++ b/src/device-msw.c	Mon Aug 13 10:26:29 2007 +0200
@@ -83,6 +83,7 @@
   DEVICE_MSWINDOWS_VERTRES(d) = GetDeviceCaps(hdc, VERTRES);
   DEVICE_MSWINDOWS_HORZSIZE(d) = GetDeviceCaps(hdc, HORZSIZE);
   DEVICE_MSWINDOWS_VERTSIZE(d) = GetDeviceCaps(hdc, VERTSIZE);
+  DEVICE_MSWINDOWS_BITSPIXEL(d) = GetDeviceCaps(hdc, BITSPIXEL);
   ReleaseDC(desktop, hdc);
 
   DEVICE_CLASS(d) = Qcolor;