Skip to content

Commit 17a3a75

Browse files
committed
Core - Change WebView to Webview (macOS WebKit Conflict)
1 parent 0bfe23c commit 17a3a75

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
@@ -1649,7 +1649,7 @@ bool webui_show_browser(size_t window, const char* content, size_t browser) {
16491649
_webui_window_t* win = _webui.wins[window];
16501650

16511651
// Show the window using a specific browser only
1652-
win->allow_webview = (browser == WebView ? true : false);
1652+
win->allow_webview = (browser == Webview ? true : false);
16531653

16541654
// Show for all connected clients
16551655
return _webui_show(win, NULL, content, browser);
@@ -7056,7 +7056,7 @@ static bool _webui_show_window(_webui_window_t* win, struct mg_connection* clien
70567056
#ifdef WEBUI_LOG
70577057
printf("[Core]\t\t_webui_show_window() -> WebView Found\n");
70587058
#endif
7059-
win->current_browser = WebView;
7059+
win->current_browser = Webview;
70607060
runWebView = true;
70617061
}
70627062
else {

0 commit comments

Comments
 (0)