summaryrefslogtreecommitdiff
path: root/plugins/ChangeKeyboardLayout/text_operations.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-06-22 20:39:02 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-06-22 20:39:02 +0000
commitf4f72b8cbcd1958403eebaf80011586092157784 (patch)
tree6c629aa7d29f254a94d6f8df2e8611064cd217aa /plugins/ChangeKeyboardLayout/text_operations.cpp
parentb5e1c9a0314f3a3aa597c319540c8f03c6486df1 (diff)
removed not needed header
git-svn-id: http://svn.miranda-ng.org/main/trunk@536 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ChangeKeyboardLayout/text_operations.cpp')
-rw-r--r--plugins/ChangeKeyboardLayout/text_operations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ChangeKeyboardLayout/text_operations.cpp b/plugins/ChangeKeyboardLayout/text_operations.cpp
index 8a1b8b097d..f4441ef4ae 100644
--- a/plugins/ChangeKeyboardLayout/text_operations.cpp
+++ b/plugins/ChangeKeyboardLayout/text_operations.cpp
@@ -268,7 +268,7 @@ int ChangeLayout(HWND hTextWnd, BYTE TextOperation, BOOL CurrentWord)
EDITSTREAM esStream = {0};
struct EditStreamData esdData;
- POPUPDATAT pdtData;
+ POPUPDATAT_V2 pdtData;
esStream.dwCookie = (DWORD)&esdData;
esStream.pfnCallback = EditStreamOutRtf;
@@ -529,7 +529,7 @@ int ChangeLayout(HWND hTextWnd, BYTE TextOperation, BOOL CurrentWord)
ptszPopupText = (LPTSTR)mir_alloc(MaxTextSize*sizeof(TCHAR));
_tcscpy(ptszPopupText, ptszMBox);
- pdtData.cbSize = sizeof(POPUPDATAT);
+ pdtData.cbSize = sizeof(POPUPDATAT_V2);
ZeroMemory(&pdtData, sizeof(pdtData));
_tcsncpy(pdtData.lptzContactName, TranslateT(ModuleName), MAX_CONTACTNAME);
_tcsncpy(pdtData.lptzText, ptszPopupText, MAX_SECONDLINE);