Skip to content

Commit ac4ea8c

Browse files
committed
Fix webui_set_public
1 parent 152ef44 commit ac4ea8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webui.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1852,7 +1852,7 @@ void webui_set_public(size_t window, bool status) {
18521852

18531853
// Dereference
18541854
if (_webui_mtx_is_exit_now(WEBUI_MUTEX_NONE) || _webui_core.wins[window] == NULL)
1855-
return NULL;
1855+
return;
18561856
_webui_window_t * win = _webui_core.wins[window];
18571857

18581858
win->is_public = status;

0 commit comments

Comments
 (0)