summaryrefslogtreecommitdiff
path: root/plugins/TranslitSwitcher/src/Layoutproc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-04-05 22:51:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-04-05 22:51:23 +0300
commitdc38d017dab888de1e2d530b916c94989489af94 (patch)
tree838bbc3dca83ad48977025b347137646cdd318b5 /plugins/TranslitSwitcher/src/Layoutproc.cpp
parentdd18f0c862d73400f9ad7eacbbfad565964e6186 (diff)
two remaining crutches removed
Diffstat (limited to 'plugins/TranslitSwitcher/src/Layoutproc.cpp')
-rw-r--r--plugins/TranslitSwitcher/src/Layoutproc.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp
index 043ccf20b4..e36052669f 100644
--- a/plugins/TranslitSwitcher/src/Layoutproc.cpp
+++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp
@@ -652,9 +652,7 @@ int OnButtonPressed(WPARAM, LPARAM lParam)
else
return 0;
- HWND hEdit = GetDlgItem(cbcd->hwndFrom, IDC_MESSAGE);
- if (!hEdit)
- hEdit = GetDlgItem(cbcd->hwndFrom, IDC_CHATMESSAGE);
+ HWND hEdit = GetDlgItem(cbcd->hwndFrom, IDC_SRMM_MESSAGE);
BYTE byKeybState[256];
GetKeyboardState(byKeybState);