DEVMODE

Dimitrie O. Paun dpaun at rogers.com
Fri Dec 20 01:21:44 CST 2002


ChangeLog
  DEVMODE structure uses short not SHORT for its fields.
  (With help from Ove Kaaven, Jeff Smith, and Vincent Béron)

Index: include/wingdi.h
===================================================================
RCS file: /var/cvs/wine/include/wingdi.h,v
retrieving revision 1.84
diff -u -r1.84 wingdi.h
--- include/wingdi.h	19 Dec 2002 22:15:53 -0000	1.84
+++ include/wingdi.h	20 Dec 2002 07:19:17 -0000
@@ -2666,22 +2666,22 @@
     DWORD  dmFields;
     union {
       struct {
-	SHORT  dmOrientation;
-	SHORT  dmPaperSize;
-	SHORT  dmPaperLength;
-	SHORT  dmPaperWidth;
+	short  dmOrientation;
+	short  dmPaperSize;
+	short  dmPaperLength;
+	short  dmPaperWidth;
       } DUMMYSTRUCTNAME1;
       POINTL dmPosition;
     } DUMMYUNIONNAME1;
-    SHORT  dmScale;
-    SHORT  dmCopies;
-    SHORT  dmDefaultSource;
-    SHORT  dmPrintQuality;
-    SHORT  dmColor;
-    SHORT  dmDuplex;
-    SHORT  dmYResolution;
-    SHORT  dmTTOption;
-    SHORT  dmCollate;
+    short  dmScale;
+    short  dmCopies;
+    short  dmDefaultSource;
+    short  dmPrintQuality;
+    short  dmColor;
+    short  dmDuplex;
+    short  dmYResolution;
+    short  dmTTOption;
+    short  dmCollate;
     BYTE   dmFormName[CCHFORMNAME];
     WORD   dmLogPixels;
     DWORD  dmBitsPerPel;
@@ -2709,22 +2709,22 @@
     DWORD  dmFields;
     union {
       struct {
-	SHORT  dmOrientation;
-	SHORT  dmPaperSize;
-	SHORT  dmPaperLength;
-	SHORT  dmPaperWidth;
+	short  dmOrientation;
+	short  dmPaperSize;
+	short  dmPaperLength;
+	short  dmPaperWidth;
       } DUMMYSTRUCTNAME1;
       POINTL dmPosition;
     } DUMMYUNIONNAME1;
-    SHORT  dmScale;
-    SHORT  dmCopies;
-    SHORT  dmDefaultSource;
-    SHORT  dmPrintQuality;
-    SHORT  dmColor;
-    SHORT  dmDuplex;
-    SHORT  dmYResolution;
-    SHORT  dmTTOption;
-    SHORT  dmCollate;
+    short  dmScale;
+    short  dmCopies;
+    short  dmDefaultSource;
+    short  dmPrintQuality;
+    short  dmColor;
+    short  dmDuplex;
+    short  dmYResolution;
+    short  dmTTOption;
+    short  dmCollate;
     WCHAR  dmFormName[CCHFORMNAME];
     WORD   dmLogPixels;
     DWORD  dmBitsPerPel;


-- 
Dimi.




More information about the wine-patches mailing list