diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kwmf/kwmf.cc | 16 | ||||
-rw-r--r-- | lib/kwmf/wmfstruct.h | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/lib/kwmf/kwmf.cc b/lib/kwmf/kwmf.cc index 38d520db6..06092a825 100644 --- a/lib/kwmf/kwmf.cc +++ b/lib/kwmf/kwmf.cc @@ -357,33 +357,33 @@ bool KWmf::parse( for (int i = 0; i < s_maxHandles; i++) m_objectHandles[i] = NULL; - typedef struct _RECT + struct RECT { S16 left; S16 top; S16 right; S16 bottom; - } RECT; + }; - typedef struct _RECTL + struct RECTL { S32 left; S32 top; S32 right; S32 bottom; - } RECTL; + }; - typedef struct _SIZE + struct SIZE { S16 width; S16 height; - } SIZE; + }; - typedef struct _SIZEL + struct SIZEL { S32 width; S32 height; - } SIZEL; + }; struct WmfEnhMetaHeader { diff --git a/lib/kwmf/wmfstruct.h b/lib/kwmf/wmfstruct.h index 7400e896e..7c0b56da0 100644 --- a/lib/kwmf/wmfstruct.h +++ b/lib/kwmf/wmfstruct.h @@ -9,33 +9,33 @@ typedef int DWORD; typedef TQ_INT32 LONG; typedef void* _HANDLE; -typedef struct _RECT +struct RECT { WORD left; WORD top; WORD right; WORD bottom; -} RECT; +}; -typedef struct _RECTL +struct RECTL { LONG left; LONG top; LONG right; LONG bottom; -} RECTL; +}; -typedef struct _SIZE +struct SIZE { WORD width; WORD height; -} SIZE; +}; -typedef struct _SIZEL +struct SIZEL { LONG width; LONG height; -} SIZEL; +}; struct WmfEnhMetaHeader |