From 2e569060081467361fe32a139366391e0c1734fa Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 14 Dec 2021 21:28:58 +0100 Subject: [PATCH] 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 --- 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];