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
e5b40ab5
Commit
e5b40ab5
authored
Dec 19, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhelp: Handle '> ' on command lines.
parent
be849dec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
winhelp.c
programs/winhelp/winhelp.c
+10
-4
No files found.
programs/winhelp/winhelp.c
View file @
e5b40ab5
...
...
@@ -164,7 +164,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
MSG
msg
;
LONG
lHash
=
0
;
HLPFILE
*
hlpfile
;
CHAR
*
quote
;
char
*
wndname
=
"main"
;
WINHELP_DLL
*
dll
;
Globals
.
hInstance
=
hInstance
;
...
...
@@ -214,17 +214,23 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
if
(
*
cmdline
)
{
if
((
*
cmdline
==
'"'
)
&&
(
quote
=
strchr
(
cmdline
+
1
,
'"'
)))
char
*
ptr
;
if
((
*
cmdline
==
'"'
)
&&
(
ptr
=
strchr
(
cmdline
+
1
,
'"'
)))
{
cmdline
++
;
*
quote
=
'\0'
;
*
ptr
=
'\0'
;
}
if
((
ptr
=
strchr
(
cmdline
,
'>'
)))
{
*
ptr
=
'\0'
;
wndname
=
ptr
+
1
;
}
hlpfile
=
WINHELP_LookupHelpFile
(
cmdline
);
if
(
!
hlpfile
)
return
0
;
}
else
hlpfile
=
NULL
;
WINHELP_CreateHelpWindowByHash
(
hlpfile
,
lHash
,
WINHELP_GetWindowInfo
(
hlpfile
,
"main"
),
show
);
WINHELP_GetWindowInfo
(
hlpfile
,
wndname
),
show
);
/* Message loop */
while
(
GetMessage
(
&
msg
,
0
,
0
,
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