summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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;