From c3daf4226816064602b5121b77917e0efd767c15 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Wed, 14 Nov 2001 21:23:46 +0000 Subject: [PATCH] Structure NEWTEXTMETRIC uses packing 4. --- include/wingdi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wingdi.h b/include/wingdi.h index ab2ef48b62d..ee8de336b23 100644 --- a/include/wingdi.h +++ b/include/wingdi.h @@ -1076,6 +1076,7 @@ DECL_WINELIB_TYPE_AW(LPPOLYTEXT) #define NTM_BOLD 0x00000020L #define NTM_ITALIC 0x00000001L +#include "pshpack4.h" typedef struct { LONG tmHeight; @@ -1131,6 +1132,7 @@ typedef struct UINT ntmCellHeight; UINT ntmAvgWidth; } NEWTEXTMETRICW, *PNEWTEXTMETRICW, *LPNEWTEXTMETRICW; +#include "poppack.h" DECL_WINELIB_TYPE_AW(NEWTEXTMETRIC) DECL_WINELIB_TYPE_AW(PNEWTEXTMETRIC)