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
6c8887b8
Commit
6c8887b8
authored
Aug 09, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix indentation warnings on GCC 6.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
27f91d71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
input.c
dlls/user32/tests/input.c
+3
-3
menu.c
dlls/user32/tests/menu.c
+4
-2
No files found.
dlls/user32/tests/input.c
View file @
6c8887b8
...
...
@@ -184,7 +184,7 @@ static int KbdMessage( KEV kev, WPARAM *pwParam, LPARAM *plParam )
if
(
TrackSysKey
==
VK_MENU
||
/* <ALT>-down/<ALT>-up sequence */
(
VKey
!=
VK_MENU
))
/* <ALT>-down...<something else>-up */
message
=
WM_SYSKEYUP
;
TrackSysKey
=
0
;
TrackSysKey
=
0
;
}
InputKeyStateTable
[
VKey
]
&=
~
0x80
;
flags
|=
KF_REPEAT
|
KF_UP
;
...
...
@@ -1767,8 +1767,8 @@ static void test_keyboard_layout_name(void)
BOOL
ret
;
char
klid
[
KL_NAMELENGTH
];
if
(
0
)
/* crashes on native system */
ret
=
GetKeyboardLayoutNameA
(
NULL
);
if
(
0
)
/* crashes on native system */
ret
=
GetKeyboardLayoutNameA
(
NULL
);
SetLastError
(
0xdeadbeef
);
ret
=
GetKeyboardLayoutNameW
(
NULL
);
...
...
dlls/user32/tests/menu.c
View file @
6c8887b8
...
...
@@ -3972,13 +3972,15 @@ static void test_AppendMenu(void)
mii
.
wID
=
206
;
ret
=
InsertMenuItemA
(
hmenu
,
0
,
TRUE
,
&
mii
);
ok
(
ret
,
"InsertMenuItem failed
\n
"
);
if
(
0
)
/* FIXME: uncomment once Wine is fixed */
if
(
0
)
/* FIXME: uncomment once Wine is fixed */
{
check_menu_items
(
hmenu
,
206
,
MF_SEPARATOR
,
MFS_GRAYED
);
}
mii
.
wID
=
207
;
ret
=
SetMenuItemInfoA
(
hmenu
,
0
,
TRUE
,
&
mii
);
ok
(
ret
,
"SetMenuItemInfo failed
\n
"
);
if
(
0
)
/* FIXME: uncomment once Wine is fixed */
if
(
0
)
/* FIXME: uncomment once Wine is fixed */
{
check_menu_items
(
hmenu
,
207
,
MF_SEPARATOR
,
MFS_GRAYED
);
}
DestroyMenu
(
hmenu
);
hbmp
=
CreateBitmap
(
1
,
1
,
1
,
1
,
NULL
);
...
...
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