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@winehq.org>
This commit is contained in:
parent
b65ed8fa9b
commit
2e56906008
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue