summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-19 19:01:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-19 19:01:46 +0000
commit4143fca9afb633d5ce2e3c47ebd5c099300aaa16 (patch)
tree094c58e45d421e908f750fe1fb58b42ed7875f6a
parent3b3bdf6af13a209838d2a99efdc23bfd35f02f3d (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@487 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/modules/button/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/button/button.cpp b/src/modules/button/button.cpp
index bf5b2b6893..c191b56683 100644
--- a/src/modules/button/button.cpp
+++ b/src/modules/button/button.cpp
@@ -409,8 +409,8 @@ static LRESULT CALLBACK MButtonWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, L
bct->hIcon = NULL;
InvalidateRect(bct->hwnd, NULL, TRUE);
}
+ return (LRESULT)hnd;
}
- return (LRESULT)hnd;
case BM_GETIMAGE:
if (bct->hIcon) return (LRESULT)bct->hIcon;