Skip to content

Commit c944958

Browse files
authored
Updating code to follow current coding style (adding missing semicolons)
1 parent 777026f commit c944958

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/webui.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ 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;
280+
#define GTK_SET_SHOW (win, status) if (win->webView && win->has_all_events) win->webView->in_show = status
281281
#define GTK_IS_SHOW (win) ((win->webView && win->has_all_events) ? win->webView->in_show : true)
282282

283283
#else
@@ -11890,7 +11890,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) {
1189011890
}
1189111891

1189211892
if (GTK_IS_SHOW(win)) {
11893-
GTK_SET_SHOW(win, false)
11893+
GTK_SET_SHOW(win, false);
1189411894
return false;
1189511895
}
1189611896

@@ -12123,7 +12123,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) {
1212312123
}
1212412124

1212512125
// Show
12126-
GTK_SET_SHOW(win, true) // TODO: Check if we need this here because we are about to load a URI
12126+
GTK_SET_SHOW(win, true); // TODO: Check if we need this here because we are about to load a URI
1212712127
webkit_web_view_load_uri(win->webView->gtk_wv, win->webView->url);
1212812128
gtk_widget_show_all(win->webView->gtk_win);
1212912129
win->webView->open = true;
@@ -12417,10 +12417,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) {
1241712417

1241812418
if (_webui.is_webview) {
1241912419
// We have a Linux WebKitGTK WebView running
12420-
GTK_SET_SHOW(win, true)
12420+
GTK_SET_SHOW(win, true);
1242112421
} else {
1242212422
// Failed to start the Linux WebKitGTK
12423-
GTK_SET_SHOW(win, false)
12423+
GTK_SET_SHOW(win, false);
1242412424
}
1242512425

1242612426
#ifdef WEBUI_LOG

0 commit comments

Comments
 (0)