Structure NEWTEXTMETRIC uses packing 4

Dmitry Timoshkov dmitry at baikal.ru
Wed Nov 14 07:08:11 CST 2001


Hello.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Structure NEWTEXTMETRIC uses packing 4.

--- cvs/cw/office/wine/include/wingdi.h	Thu Oct 11 13:37:53 2001
+++ wine/include/wingdi.h	Wed Nov 14 19:56:04 2001
@@ -1076,6 +1076,7 @@
 #define NTM_BOLD        0x00000020L
 #define NTM_ITALIC      0x00000001L
 
+#include "pshpack4.h"
 typedef struct
 {
     LONG      tmHeight;
@@ -1131,6 +1132,7 @@
     UINT      ntmCellHeight;
     UINT      ntmAvgWidth;
 } NEWTEXTMETRICW, *PNEWTEXTMETRICW, *LPNEWTEXTMETRICW;
+#include "poppack.h"
 
 DECL_WINELIB_TYPE_AW(NEWTEXTMETRIC)
 DECL_WINELIB_TYPE_AW(PNEWTEXTMETRIC)






More information about the wine-patches mailing list