Alexandre Julliard : winebrowser: Try xdg-open before /usr/bin/open.

Alexandre Julliard julliard at winehq.org
Tue Dec 14 15:34:33 CST 2021


Module: wine
Branch: master
Commit: 2e569060081467361fe32a139366391e0c1734fa
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2e569060081467361fe32a139366391e0c1734fa

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Dec 14 21:28:58 2021 +0100

winebrowser: Try xdg-open before /usr/bin/open.

/usr/bin/open may be something different on Linux.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52206
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/winebrowser/main.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/programs/winebrowser/main.c b/programs/winebrowser/main.c
index 14ce00bf518..913c0a8d672 100644
--- a/programs/winebrowser/main.c
+++ b/programs/winebrowser/main.c
@@ -115,13 +115,11 @@ static LSTATUS get_commands( HKEY key, const WCHAR *value, WCHAR *buffer, DWORD
 static int open_http_url( const WCHAR *url )
 {
     static const WCHAR defaultbrowsers[] =
-        L"/usr/bin/open\0"
-        "xdg-open\0"
+        L"xdg-open\0"
+        "/usr/bin/open\0"
         "firefox\0"
         "konqueror\0"
         "mozilla\0"
-        "netscape\0"
-        "galeon\0"
         "opera\0"
         "dillo\0";
     WCHAR browsers[256];




More information about the wine-cvs mailing list