From 3ef6dd2f7c67bc94f73653be31825db508dbe65a Mon Sep 17 00:00:00 2001 From: "kunming.xie" Date: Mon, 24 Dec 2018 14:52:59 +0800 Subject: [PATCH] fix button_set_locked no return statement --- client/Windows/wf_floatbar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/Windows/wf_floatbar.c b/client/Windows/wf_floatbar.c index fc1d4acbc..1c0be8a8b 100644 --- a/client/Windows/wf_floatbar.c +++ b/client/Windows/wf_floatbar.c @@ -217,6 +217,7 @@ static BOOL button_set_locked(Button* button, BOOL locked) InvalidateRect(button->floatbar->hwnd, NULL, FALSE); UpdateWindow(button->floatbar->hwnd); + return TRUE; } static BOOL update_locked_state(wfFloatBar* floatbar)