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
2885e712
Commit
2885e712
authored
Apr 03, 2015
by
Thomas Faber
Committed by
Alexandre Julliard
Apr 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Avoid side-effect in an assert.
parent
655e7f98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
win.c
dlls/user32/tests/win.c
+3
-1
No files found.
dlls/user32/tests/win.c
View file @
2885e712
...
...
@@ -4883,6 +4883,7 @@ static void test_IsWindowUnicode(void)
WNDCLASSA
classA
;
WNDCLASSW
classW
;
HWND
hwnd
;
ATOM
atom
;
memset
(
&
classW
,
0
,
sizeof
(
classW
));
classW
.
hInstance
=
GetModuleHandleA
(
0
);
...
...
@@ -4894,7 +4895,8 @@ static void test_IsWindowUnicode(void)
classA
.
hInstance
=
GetModuleHandleA
(
0
);
classA
.
lpfnWndProc
=
def_window_procA
;
classA
.
lpszClassName
=
ansi_class_nameA
;
assert
(
RegisterClassA
(
&
classA
));
atom
=
RegisterClassA
(
&
classA
);
assert
(
atom
);
/* unicode class: window proc */
hwnd
=
CreateWindowExW
(
0
,
unicode_class_nameW
,
NULL
,
WS_POPUP
,
...
...
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