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
c5946bec
Commit
c5946bec
authored
Jun 12, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched32/tests: Fix test failures on Win9x, WinMe and NT4.
parent
9da4d2f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
editor.c
dlls/riched32/tests/editor.c
+9
-3
No files found.
dlls/riched32/tests/editor.c
View file @
c5946bec
...
...
@@ -768,7 +768,9 @@ static void test_EM_POSFROMCHAR(void)
if
(
i
==
0
)
{
ok
(
pl
.
y
==
0
,
"EM_POSFROMCHAR reports y=%d, expected 0
\n
"
,
pl
.
y
);
ok
(
pl
.
x
==
1
,
"EM_POSFROMCHAR reports x=%d, expected 1
\n
"
,
pl
.
x
);
ok
(
pl
.
x
==
1
||
broken
(
pl
.
x
==
0
),
/* Win9x, WinME and NT4 */
"EM_POSFROMCHAR reports x=%d, expected 1
\n
"
,
pl
.
x
);
xpos
=
pl
.
x
;
}
else
if
(
i
==
1
)
...
...
@@ -829,7 +831,9 @@ static void test_EM_POSFROMCHAR(void)
result
=
SendMessage
(
hwndRichEdit
,
EM_POSFROMCHAR
,
(
WPARAM
)
&
pl
,
0
);
ok
(
result
==
0
,
"EM_POSFROMCHAR returned %ld, expected 0
\n
"
,
result
);
ok
(
pl
.
y
==
0
,
"EM_POSFROMCHAR reports y=%d, expected 0
\n
"
,
pl
.
y
);
ok
(
pl
.
x
==
1
,
"EM_POSFROMCHAR reports x=%d, expected 1
\n
"
,
pl
.
x
);
ok
(
pl
.
x
==
1
||
broken
(
pl
.
x
==
0
),
/* Win9x, WinME and NT4 */
"EM_POSFROMCHAR reports x=%d, expected 1
\n
"
,
pl
.
x
);
xpos
=
pl
.
x
;
SendMessage
(
hwndRichEdit
,
WM_HSCROLL
,
SB_LINERIGHT
,
0
);
...
...
@@ -838,7 +842,9 @@ static void test_EM_POSFROMCHAR(void)
ok
(
pl
.
y
==
0
,
"EM_POSFROMCHAR reports y=%d, expected 0
\n
"
,
pl
.
y
);
todo_wine
{
/* Fails on builtin because horizontal scrollbar is not being shown */
ok
(
pl
.
x
<
xpos
,
"EM_POSFROMCHAR reports x=%hd, expected value less than %d
\n
"
,
pl
.
x
,
xpos
);
ok
(
pl
.
x
<
xpos
||
broken
(
pl
.
x
==
xpos
),
/* Win9x, WinME and NT4 */
"EM_POSFROMCHAR reports x=%hd, expected value less than %d
\n
"
,
pl
.
x
,
xpos
);
}
DestroyWindow
(
hwndRichEdit
);
}
...
...
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