summaryrefslogtreecommitdiff
path: root/plugins/ChangeKeyboardLayout
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-18 19:39:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-18 19:39:31 +0300
commit760347687945fcd50e46ebcefc666359258f8579 (patch)
tree449292b8d656bf0c51efbcebf19a74fde9d2b1ec /plugins/ChangeKeyboardLayout
parent48e0d2824f79489e28b027d3e7affcc218817bba (diff)
m_ieview.h: code cleaning
Diffstat (limited to 'plugins/ChangeKeyboardLayout')
-rw-r--r--plugins/ChangeKeyboardLayout/src/text_operations.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/ChangeKeyboardLayout/src/text_operations.cpp b/plugins/ChangeKeyboardLayout/src/text_operations.cpp
index 5ccd7e39c1..06a6da11e2 100644
--- a/plugins/ChangeKeyboardLayout/src/text_operations.cpp
+++ b/plugins/ChangeKeyboardLayout/src/text_operations.cpp
@@ -234,8 +234,7 @@ int ChangeLayout(HWND hTextWnd, BYTE TextOperation, BOOL CurrentWord)
return 0;
//--------------Определяем тип окна-----------------
- IEVIEWEVENT ieEvent = { 0 };
- ieEvent.cbSize = sizeof(IEVIEWEVENT);
+ IEVIEWEVENT ieEvent = {};
ieEvent.iType = IEE_GET_SELECTION;
if (ServiceExists(MS_HPP_EG_EVENT)) {