summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/HotkeyHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BasicHistory/src/HotkeyHelper.cpp')
-rw-r--r--plugins/BasicHistory/src/HotkeyHelper.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/BasicHistory/src/HotkeyHelper.cpp b/plugins/BasicHistory/src/HotkeyHelper.cpp
index ba2e2195d2..8a9441e8b3 100644
--- a/plugins/BasicHistory/src/HotkeyHelper.cpp
+++ b/plugins/BasicHistory/src/HotkeyHelper.cpp
@@ -40,8 +40,7 @@ static LRESULT CALLBACK HotkeySubclassProc(HWND hwnd, UINT msg, WPARAM wParam, L
break;
case WM_KEYUP:
case WM_SYSKEYUP:
- if (isPresed)
- {
+ if (isPresed) {
isPresed = false;
return 0;
}
@@ -58,8 +57,7 @@ static LRESULT CALLBACK HotkeySubclassProc(HWND hwnd, UINT msg, WPARAM wParam, L
filter.nmhdr.hwndFrom = hwnd;
filter.nmhdr.code = EN_MSGFILTER;
filter.nmhdr.idFrom = GetDlgCtrlID(hwnd);
- if (SendMessage(hwndParent, WM_NOTIFY, NULL, (LPARAM)&filter))
- {
+ if (SendMessage(hwndParent, WM_NOTIFY, NULL, (LPARAM)&filter)) {
isPresed = true;
return 0;
}