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
484ef1dc
Commit
484ef1dc
authored
Sep 29, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/updown: Fix some test failures on Win95 (comctl32 4.0).
parent
aadadd04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
updown.c
dlls/comctl32/tests/updown.c
+15
-0
No files found.
dlls/comctl32/tests/updown.c
View file @
484ef1dc
...
...
@@ -393,7 +393,15 @@ static void test_updown_pos32(void)
/* Set the position to 0 to 1000 */
SendMessage
(
updown
,
UDM_SETRANGE32
,
0
,
1000
);
low
=
high
=
-
1
;
r
=
SendMessage
(
updown
,
UDM_GETRANGE32
,
(
WPARAM
)
&
low
,
(
LPARAM
)
&
high
);
if
(
low
==
-
1
)
{
win_skip
(
"UDM_SETRANGE32/UDM_GETRANGE32 not available
\n
"
);
DestroyWindow
(
updown
);
return
;
}
expect
(
0
,
low
);
expect
(
1000
,
high
);
...
...
@@ -402,6 +410,7 @@ static void test_updown_pos32(void)
if
(
!
r
)
{
win_skip
(
"UDM_SETPOS32 and UDM_GETPOS32 need 5.80
\n
"
);
DestroyWindow
(
updown
);
return
;
}
expect
(
50
,
r
);
...
...
@@ -548,6 +557,12 @@ static void test_updown_unicode(void)
r
=
SendMessage
(
updown
,
UDM_SETUNICODEFORMAT
,
1
,
0
);
expect
(
0
,
r
);
r
=
SendMessage
(
updown
,
UDM_GETUNICODEFORMAT
,
0
,
0
);
if
(
!
r
)
{
win_skip
(
"UDM_SETUNICODEFORMAT not available
\n
"
);
DestroyWindow
(
updown
);
return
;
}
expect
(
1
,
r
);
/* And now set it back to ANSI */
...
...
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