diff options
Diffstat (limited to 'plugins/BasicHistory/src/HotkeyHelper.cpp')
-rw-r--r-- | plugins/BasicHistory/src/HotkeyHelper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/BasicHistory/src/HotkeyHelper.cpp b/plugins/BasicHistory/src/HotkeyHelper.cpp index 89db08013e..ba2e2195d2 100644 --- a/plugins/BasicHistory/src/HotkeyHelper.cpp +++ b/plugins/BasicHistory/src/HotkeyHelper.cpp @@ -27,7 +27,7 @@ static LRESULT CALLBACK HotkeySubclassProc(HWND hwnd, UINT msg, WPARAM wParam, L {
switch (msg) {
case WM_NCPAINT:
- if(Options::instance->noFindBorder && GetDlgCtrlID(hwnd) == IDC_FIND_TEXT)
+ if (Options::instance->noFindBorder && GetDlgCtrlID(hwnd) == IDC_FIND_TEXT)
return 0;
break;
case WM_CHAR:
@@ -35,12 +35,12 @@ static LRESULT CALLBACK HotkeySubclassProc(HWND hwnd, UINT msg, WPARAM wParam, L case WM_UNICHAR:
case WM_DEADCHAR:
case WM_SYSDEADCHAR:
- if(isPresed)
+ if (isPresed)
return 0;
break;
case WM_KEYUP:
case WM_SYSKEYUP:
- if(isPresed)
+ if (isPresed)
{
isPresed = false;
return 0;
@@ -58,7 +58,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;
|