fix button_set_locked no return statement
authorkunming.xie <kunming.xie@hotmail.com>
Mon, 24 Dec 2018 06:52:59 +0000 (14:52 +0800)
committerkunming.xie <kunming.xie@hotmail.com>
Mon, 24 Dec 2018 06:52:59 +0000 (14:52 +0800)
client/Windows/wf_floatbar.c

index fc1d4ac..1c0be8a 100644 (file)
@@ -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)