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
41f51457
Commit
41f51457
authored
Oct 16, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhelp: Cast-qual warnings fix.
parent
116236f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
winhelp.c
programs/winhelp/winhelp.c
+5
-3
No files found.
programs/winhelp/winhelp.c
View file @
41f51457
...
...
@@ -483,6 +483,7 @@ BOOL WINHELP_CreateHelpWindow(HLPFILE_PAGE* page, HLPFILE_WINDOWINFO* wi,
HWND
hWnd
;
BOOL
bPrimary
;
BOOL
bPopup
;
LPSTR
name
;
bPrimary
=
!
lstrcmpi
(
wi
->
name
,
"main"
);
bPopup
=
wi
->
win_style
&
WS_POPUP
;
...
...
@@ -495,8 +496,9 @@ BOOL WINHELP_CreateHelpWindow(HLPFILE_PAGE* page, HLPFILE_WINDOWINFO* wi,
win
->
next
=
Globals
.
win_list
;
Globals
.
win_list
=
win
;
win
->
lpszName
=
(
char
*
)
win
+
sizeof
(
WINHELP_WINDOW
);
lstrcpy
((
char
*
)
win
->
lpszName
,
wi
->
name
);
name
=
(
char
*
)
win
+
sizeof
(
WINHELP_WINDOW
);
lstrcpy
(
name
,
wi
->
name
);
win
->
lpszName
=
name
;
win
->
page
=
page
;
...
...
@@ -757,7 +759,7 @@ static LRESULT CALLBACK WINHELP_ButtonBoxWndProc(HWND hWnd, UINT msg, WPARAM wPa
SIZE
textsize
;
if
(
!
button
->
hWnd
)
{
button
->
hWnd
=
CreateWindow
(
STRING_BUTTON
,
(
LPSTR
)
button
->
lpszName
,
button
->
hWnd
=
CreateWindow
(
STRING_BUTTON
,
button
->
lpszName
,
WS_CHILD
|
WS_VISIBLE
|
BS_PUSHBUTTON
,
0
,
0
,
0
,
0
,
hWnd
,
(
HMENU
)
button
->
wParam
,
...
...
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