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
35299b39
Commit
35299b39
authored
Jun 16, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhlp32: Use nameless unions/structs.
parent
6c9246e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
winhelp.c
programs/winhlp32/winhelp.c
+4
-6
No files found.
programs/winhlp32/winhelp.c
View file @
35299b39
...
...
@@ -28,8 +28,6 @@
#include <stdarg.h>
#include <stdlib.h>
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
...
...
@@ -1565,12 +1563,12 @@ BOOL WINHELP_CreateIndexWindow(BOOL is_search)
psp
.
dwFlags
=
0
;
psp
.
hInstance
=
Globals
.
hInstance
;
psp
.
u
.
pszTemplate
=
MAKEINTRESOURCEA
(
IDD_INDEX
);
psp
.
pszTemplate
=
MAKEINTRESOURCEA
(
IDD_INDEX
);
psp
.
lParam
=
(
LPARAM
)
&
id
;
psp
.
pfnDlgProc
=
WINHELP_IndexDlgProc
;
psPage
[
0
]
=
CreatePropertySheetPageA
(
&
psp
);
psp
.
u
.
pszTemplate
=
MAKEINTRESOURCEA
(
IDD_SEARCH
);
psp
.
pszTemplate
=
MAKEINTRESOURCEA
(
IDD_SEARCH
);
psp
.
lParam
=
(
LPARAM
)
&
id
;
psp
.
pfnDlgProc
=
WINHELP_SearchDlgProc
;
psPage
[
1
]
=
CreatePropertySheetPageA
(
&
psp
);
...
...
@@ -1583,9 +1581,9 @@ BOOL WINHELP_CreateIndexWindow(BOOL is_search)
psHead
.
pszCaption
=
buf
;
psHead
.
nPages
=
2
;
psHead
.
u2
.
nStartPage
=
is_search
?
1
:
0
;
psHead
.
nStartPage
=
is_search
?
1
:
0
;
psHead
.
hwndParent
=
Globals
.
active_win
->
hMainWnd
;
psHead
.
u3
.
phpage
=
psPage
;
psHead
.
phpage
=
psPage
;
psHead
.
dwFlags
=
PSH_NOAPPLYNOW
;
PropertySheetA
(
&
psHead
);
...
...
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