summaryrefslogtreecommitdiff
path: root/plugins/SMS
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-11 20:36:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-11 20:36:55 +0000
commit4cbdf4bd6d261e9a6a4f3b86411983ba1a89ef48 (patch)
tree81bec4115c42c48db0de8784f33124e898786bfc /plugins/SMS
parent6aeafa47b02b966067d3ff83453c9ae8f9b0fc70 (diff)
misprint
git-svn-id: http://svn.miranda-ng.org/main/trunk@3978 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SMS')
-rw-r--r--plugins/SMS/src/functions.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/SMS/src/functions.cpp b/plugins/SMS/src/functions.cpp
index 4476c40806..157b85d78f 100644
--- a/plugins/SMS/src/functions.cpp
+++ b/plugins/SMS/src/functions.cpp
@@ -609,13 +609,12 @@ void LoadMsgDlgFont(int i,LOGFONT *lf,COLORREF *colour)
LRESULT CALLBACK MessageSubclassProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam)
{
- LRESULT lrRet=0;
-
- switch(message){
- case WM_CHAR:
- if (wParam=='\n' && GetKeyState(VK_CONTROL)&0x8000)
- PostMessage(GetParent(hwnd),WM_COMMAND,IDOK,0);
- return 0;
+ switch(message) {
+ case WM_CHAR:
+ if (wParam == '\n' && GetKeyState(VK_CONTROL) & 0x8000) {
+ PostMessage(GetParent(hwnd), WM_COMMAND, IDOK, 0);
+ return 0;
+ }
}
return mir_callNextSubclass(hwnd, MessageSubclassProc, message, wParam, lParam);