Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d392e0e0
Commit
d392e0e0
authored
May 21, 2008
by
Jeremy White
Committed by
Alexandre Julliard
May 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebrowser: Route default url handlers to /usr/bin/open on Mac OS X.
parent
ed552b47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
main.c
programs/winebrowser/main.c
+10
-0
No files found.
programs/winebrowser/main.c
View file @
d392e0e0
...
...
@@ -100,11 +100,16 @@ static int launch_app( WCHAR *candidates, const WCHAR *argv1 )
static
int
open_http_url
(
const
WCHAR
*
url
)
{
#ifdef __APPLE__
static
const
WCHAR
defaultbrowsers
[]
=
{
'/'
,
'u'
,
's'
,
'r'
,
'/'
,
'b'
,
'i'
,
'n'
,
'/'
,
'o'
,
'p'
,
'e'
,
'n'
,
0
};
#else
static
const
WCHAR
defaultbrowsers
[]
=
{
'x'
,
'd'
,
'g'
,
'-'
,
'o'
,
'p'
,
'e'
,
'n'
,
','
,
'f'
,
'i'
,
'r'
,
'e'
,
'f'
,
'o'
,
'x'
,
','
,
'k'
,
'o'
,
'n'
,
'q'
,
'u'
,
'e'
,
'r'
,
'o'
,
'r'
,
','
,
'm'
,
'o'
,
'z'
,
'i'
,
'l'
,
'l'
,
'a'
,
','
,
'n'
,
'e'
,
't'
,
's'
,
'c'
,
'a'
,
'p'
,
'e'
,
','
,
'g'
,
'a'
,
'l'
,
'e'
,
'o'
,
'n'
,
','
,
'o'
,
'p'
,
'e'
,
'r'
,
'a'
,
','
,
'd'
,
'i'
,
'l'
,
'l'
,
'o'
,
0
};
#endif
static
const
WCHAR
browsersW
[]
=
{
'B'
,
'r'
,
'o'
,
'w'
,
's'
,
'e'
,
'r'
,
's'
,
0
};
...
...
@@ -128,11 +133,16 @@ static int open_http_url( const WCHAR *url )
static
int
open_mailto_url
(
const
WCHAR
*
url
)
{
#ifdef __APPLE__
static
const
WCHAR
defaultmailers
[]
=
{
'/'
,
'u'
,
's'
,
'r'
,
'/'
,
'b'
,
'i'
,
'n'
,
'/'
,
'o'
,
'p'
,
'e'
,
'n'
,
0
};
#else
static
const
WCHAR
defaultmailers
[]
=
{
'x'
,
'd'
,
'g'
,
'-'
,
'e'
,
'm'
,
'a'
,
'i'
,
'l'
,
','
,
'm'
,
'o'
,
'z'
,
'i'
,
'l'
,
'l'
,
'a'
,
'-'
,
't'
,
'h'
,
'u'
,
'n'
,
'd'
,
'e'
,
'r'
,
'b'
,
'i'
,
'r'
,
'd'
,
','
,
't'
,
'h'
,
'u'
,
'n'
,
'd'
,
'e'
,
'r'
,
'b'
,
'i'
,
'r'
,
'd'
,
','
,
'e'
,
'v'
,
'o'
,
'l'
,
'u'
,
't'
,
'i'
,
'o'
,
'n'
,
0
};
#endif
static
const
WCHAR
mailersW
[]
=
{
'M'
,
'a'
,
'i'
,
'l'
,
'e'
,
'r'
,
's'
,
0
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment