summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/HotkeyHelper.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-22 13:55:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-22 13:55:39 +0000
commit1dad958015778d3486838bf3c93fff1793aa5406 (patch)
tree16ddb8957ac62d3ccb20cf070f0bdace203072d2 /plugins/BasicHistory/src/HotkeyHelper.cpp
parentd1963a84cf69f801100367871744a4e1092d2bbc (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6182 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BasicHistory/src/HotkeyHelper.cpp')
-rw-r--r--plugins/BasicHistory/src/HotkeyHelper.cpp8
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;