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
5a0deb25
Commit
5a0deb25
authored
Aug 29, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Fix status test failures on older Windows versions.
parent
a561c5d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
status.c
dlls/comctl32/tests/status.c
+3
-3
No files found.
dlls/comctl32/tests/status.c
View file @
5a0deb25
...
...
@@ -483,11 +483,11 @@ static void test_gettext(void)
/* A size of 1 only stores the NULL terminator */
buf
[
0
]
=
0xa
;
r
=
SendMessage
(
hwndStatus
,
WM_GETTEXT
,
1
,
(
LPARAM
)
buf
);
expect
(
0
,
r
);
ok
(
!
buf
[
0
],
"expected empty buffer
\n
"
);
ok
(
r
==
0
||
broken
(
r
==
4
),
"Expected 0 got %d
\n
"
,
r
);
if
(
!
r
)
ok
(
!
buf
[
0
],
"expected empty buffer
\n
"
);
/* A size of 2 returns a length 1 */
r
=
SendMessage
(
hwndStatus
,
WM_GETTEXT
,
2
,
(
LPARAM
)
buf
);
expect
(
1
,
r
);
ok
(
r
==
1
||
broken
(
r
==
4
),
"Expected 1 got %d
\n
"
,
r
);
r
=
SendMessage
(
hwndStatus
,
WM_GETTEXT
,
sizeof
(
buf
),
(
LPARAM
)
buf
);
expect
(
4
,
r
);
ok
(
!
strcmp
(
buf
,
"Text"
),
"expected Text, got %s
\n
"
,
buf
);
...
...
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