Skip to content

Commit

Permalink
Fix non-running
Browse files Browse the repository at this point in the history
- Fix non-running when no browser is already opened
  • Loading branch information
hassandraga committed Oct 2, 2023
1 parent e7418ef commit a9fa6fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webui.c
Original file line number Diff line number Diff line change
Expand Up @@ -4156,7 +4156,7 @@ static bool _webui_browser_start(_webui_window_t* win, const char* address, size
// #7 - Yandex - Shows a big welcome window in the first run
// #8 - Chromium - Some Anti-Malware shows a false alert when using ungoogled-chromium-binaries

if(browser != 0) {
if(browser != AnyBrowser) {

// Open the window using the user specified browser

Expand All @@ -4176,7 +4176,7 @@ static bool _webui_browser_start(_webui_window_t* win, const char* address, size
return _webui_browser_start_yandex(win, address);
else if(browser == Chromium)
return _webui_browser_start_chromium(win, address);
else if(browser == ChromiumBased) {
else if(browser == ChromiumBased) {

// Open the window using a Chromium-based browser

Expand Down

0 comments on commit a9fa6fa

Please sign in to comment.