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
2e58c9e0
Commit
2e58c9e0
authored
Jun 16, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conhost: Use nameless union/structs.
parent
7eb75124
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
window.c
programs/conhost/window.c
+4
-5
No files found.
programs/conhost/window.c
View file @
2e58c9e0
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#define NONAMELESSUNION
#include <stdlib.h>
#include <stdlib.h>
#include "conhost.h"
#include "conhost.h"
...
@@ -1924,15 +1923,15 @@ static BOOL config_dialog( struct console *console, BOOL current )
...
@@ -1924,15 +1923,15 @@ static BOOL config_dialog( struct console *console, BOOL current )
psp
.
hInstance
=
wndclass
.
hInstance
;
psp
.
hInstance
=
wndclass
.
hInstance
;
psp
.
lParam
=
(
LPARAM
)
&
di
;
psp
.
lParam
=
(
LPARAM
)
&
di
;
psp
.
u
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_OPTION
);
psp
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_OPTION
);
psp
.
pfnDlgProc
=
option_dialog_proc
;
psp
.
pfnDlgProc
=
option_dialog_proc
;
pages
[
0
]
=
CreatePropertySheetPageW
(
&
psp
);
pages
[
0
]
=
CreatePropertySheetPageW
(
&
psp
);
psp
.
u
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_FONT
);
psp
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_FONT
);
psp
.
pfnDlgProc
=
font_dialog_proc
;
psp
.
pfnDlgProc
=
font_dialog_proc
;
pages
[
1
]
=
CreatePropertySheetPageW
(
&
psp
);
pages
[
1
]
=
CreatePropertySheetPageW
(
&
psp
);
psp
.
u
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_CONFIG
);
psp
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_CONFIG
);
psp
.
pfnDlgProc
=
config_dialog_proc
;
psp
.
pfnDlgProc
=
config_dialog_proc
;
pages
[
2
]
=
CreatePropertySheetPageW
(
&
psp
);
pages
[
2
]
=
CreatePropertySheetPageW
(
&
psp
);
...
@@ -1947,7 +1946,7 @@ static BOOL config_dialog( struct console *console, BOOL current )
...
@@ -1947,7 +1946,7 @@ static BOOL config_dialog( struct console *console, BOOL current )
header
.
pszCaption
=
buff
;
header
.
pszCaption
=
buff
;
header
.
nPages
=
3
;
header
.
nPages
=
3
;
header
.
hwndParent
=
console
->
win
;
header
.
hwndParent
=
console
->
win
;
header
.
u3
.
phpage
=
pages
;
header
.
phpage
=
pages
;
header
.
dwFlags
=
PSH_NOAPPLYNOW
;
header
.
dwFlags
=
PSH_NOAPPLYNOW
;
if
(
PropertySheetW
(
&
header
)
<
1
)
if
(
PropertySheetW
(
&
header
)
<
1
)
return
TRUE
;
return
TRUE
;
...
...
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