File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -6158,7 +6158,7 @@ static bool _webui_custom_browser_exist(_webui_window_t* win, size_t browser) {
61586158 }
61596159 }
61606160 #else
6161- #define MAX_BROWSER_FILES (2 )
6161+ #define MAX_BROWSER_FILES (5 )
61626162 char * executable = NULL ;
61636163 char * executables [MAX_BROWSER_FILES ] = {0 };
61646164 if (browser == Chrome ) {
@@ -6171,7 +6171,6 @@ static bool _webui_custom_browser_exist(_webui_window_t* win, size_t browser) {
61716171 }
61726172 else if (browser == Epic ) {
61736173 executables [0 ] = "epic" ;
6174- executables [1 ] = NULL ;
61756174 }
61766175 else if (browser == Vivaldi ) {
61776176 executables [0 ] = "vivaldi" ;
@@ -6182,15 +6181,12 @@ static bool _webui_custom_browser_exist(_webui_window_t* win, size_t browser) {
61826181 executables [1 ] = "brave-browser-stable" ;
61836182 executables [2 ] = "brave-browser-nightly" ;
61846183 executables [3 ] = "brave-browser-beta" ;
6185- executables [4 ] = NULL ;
61866184 }
61876185 else if (browser == Firefox ) {
61886186 executables [0 ] = "firefox" ;
6189- executables [1 ] = NULL ;
61906187 }
61916188 else if (browser == Yandex ) {
61926189 executables [0 ] = "yandex-browser" ;
6193- executables [1 ] = NULL ;
61946190 }
61956191 else if (browser == Chromium ) {
61966192 executables [0 ] = "chromium-browser" ;
You can’t perform that action at this time.
0 commit comments