Skip to content

Commit 8895dd4

Browse files
authored
Updating code to follow current coding style (fix macro syntax)
1 parent c944958 commit 8895dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webui.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ typedef struct webui_event_inf_t {
277277
bool stop;
278278
} _webui_wv_linux_t;
279279

280-
#define GTK_SET_SHOW (win, status) if (win->webView && win->has_all_events) win->webView->in_show = status
281-
#define GTK_IS_SHOW (win) ((win->webView && win->has_all_events) ? win->webView->in_show : true)
280+
#define GTK_SET_SHOW(win, status) (if (win->webView && win->has_all_events) win->webView->in_show = status)
281+
#define GTK_IS_SHOW(win) ((win->webView && win->has_all_events) ? win->webView->in_show : true)
282282

283283
#else
284284
extern bool _webui_macos_wv_new(int index, bool frameless, bool resizable);

0 commit comments

Comments
 (0)