summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r--plugins/SpellChecker/src/utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/SpellChecker/src/utils.cpp b/plugins/SpellChecker/src/utils.cpp
index b0e341d52b..78027c7ca6 100644
--- a/plugins/SpellChecker/src/utils.cpp
+++ b/plugins/SpellChecker/src/utils.cpp
@@ -566,6 +566,8 @@ LRESULT CALLBACK EditProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
}
LRESULT ret = mir_callNextSubclass(hwnd, EditProc, msg, wParam, lParam);
+ if ((dlgit = dialogs.find(hwnd)) == dialogs.end())
+ return ret;
switch(msg) {
case WM_KEYDOWN: