summaryrefslogtreecommitdiff
path: root/plugins/mTextControl/src/FormattedTextDraw.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-01 12:56:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-01 12:56:22 +0000
commit70e0c09fcffa5520d3cfdc4708c81248b135c796 (patch)
tree6d000d835ddf3c890d1d23a7f946fd62111f8497 /plugins/mTextControl/src/FormattedTextDraw.h
parent4a58d85d8dd5f120eb0d0c429e0b46cdeb25c629 (diff)
- more warning fixes;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@11191 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mTextControl/src/FormattedTextDraw.h')
-rw-r--r--plugins/mTextControl/src/FormattedTextDraw.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/mTextControl/src/FormattedTextDraw.h b/plugins/mTextControl/src/FormattedTextDraw.h
index 3ea2e2faee..bfadbb918f 100644
--- a/plugins/mTextControl/src/FormattedTextDraw.h
+++ b/plugins/mTextControl/src/FormattedTextDraw.h
@@ -11,7 +11,7 @@
#define HOST_BORDER 0
#endif
-typedef struct tagCOOKIE
+struct COOKIE
{
bool isUnicode;
union
@@ -19,9 +19,8 @@ typedef struct tagCOOKIE
char *ansi;
WCHAR *unicode;
};
- DWORD dwSize;
- DWORD dwCount;
-} COOKIE, *PCOOKIE;
+ size_t cbSize, cbCount;
+};
extern HRESULT (WINAPI *MyCreateTextServices)(IUnknown *punkOuter, ITextHost *pITextHost, IUnknown **ppUnk);