Commit 2e569060 authored by Alexandre Julliard's avatar Alexandre Julliard

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=52206Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b65ed8fa
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment