Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
winhelp.c
programs/winhelp/winhelp.c
+13
-7
No files found.
programs/winhelp/winhelp.c
View file @
e5b40ab5
...
...
@@ -161,10 +161,10 @@ static HLPFILE_WINDOWINFO* WINHELP_GetPopupWindowInfo(HLPFILE* hlpfile, HWND
*/
int
PASCAL
WinMain
(
HINSTANCE
hInstance
,
HINSTANCE
prev
,
LPSTR
cmdline
,
int
show
)
{
MSG
msg
;
LONG
lHash
=
0
;
HLPFILE
*
hlpfile
;
CHAR
*
quote
;
MSG
msg
;
LONG
lHash
=
0
;
HLPFILE
*
hlpfile
;
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