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
4bc6aad3
Commit
4bc6aad3
authored
Dec 12, 2022
by
Fabian Maurer
Committed by
Alexandre Julliard
Jan 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Don't assign const variable to other const (gcc 4.7).
Signed-off-by:
Fabian Maurer
<
dark.shadow4@web.de
>
parent
7ada8b96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sysparams.c
dlls/user32/tests/sysparams.c
+2
-1
No files found.
dlls/user32/tests/sysparams.c
View file @
4bc6aad3
...
...
@@ -3123,7 +3123,8 @@ static void test_EnumDisplaySettings(void)
{
static
const
DWORD
mode_fields
=
DM_DISPLAYORIENTATION
|
DM_BITSPERPEL
|
DM_PELSWIDTH
|
DM_PELSHEIGHT
|
DM_DISPLAYFLAGS
|
DM_DISPLAYFREQUENCY
;
static
const
DWORD
setting_fields
=
mode_fields
|
DM_POSITION
;
static
const
DWORD
setting_fields
=
DM_DISPLAYORIENTATION
|
DM_BITSPERPEL
|
DM_PELSWIDTH
|
DM_PELSHEIGHT
|
DM_DISPLAYFLAGS
|
DM_DISPLAYFREQUENCY
|
DM_POSITION
;
CHAR
primary_adapter
[
CCHDEVICENAME
];
DPI_AWARENESS_CONTEXT
ctx
=
NULL
;
DWORD
err
,
val
,
device
,
mode
;
...
...
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