Skip to content

Commit

Permalink
Fix webui_set_public
Browse files Browse the repository at this point in the history
  • Loading branch information
hassandraga committed Nov 29, 2023
1 parent 152ef44 commit ac4ea8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui.c
Original file line number Diff line number Diff line change
Expand Up @@ -1852,7 +1852,7 @@ void webui_set_public(size_t window, bool status) {

// Dereference
if (_webui_mtx_is_exit_now(WEBUI_MUTEX_NONE) || _webui_core.wins[window] == NULL)
return NULL;
return;
_webui_window_t * win = _webui_core.wins[window];

win->is_public = status;
Expand Down

0 comments on commit ac4ea8c

Please sign in to comment.