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
d449fcde
Commit
d449fcde
authored
Jun 04, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched32/tests: Fix a test failure on NT4 and below.
parent
b7aa1964
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
editor.c
dlls/riched32/tests/editor.c
+3
-3
No files found.
dlls/riched32/tests/editor.c
View file @
d449fcde
...
...
@@ -955,7 +955,7 @@ static void test_autoscroll(void)
hwnd
=
CreateWindowEx
(
0
,
RICHEDIT_CLASS10A
,
NULL
,
WS_POPUP
|
ES_MULTILINE
|
WS_VSCROLL
|
WS_HSCROLL
,
0
,
0
,
200
,
60
,
NULL
,
NULL
,
hmoduleRichEdit
,
NULL
);
ok
(
hwnd
!=
NULL
,
"class: %s, error: %d
\n
"
,
RICHEDIT_CLASS
,
(
int
)
GetLastError
());
ok
(
hwnd
!=
NULL
,
"class: %s, error: %d
\n
"
,
RICHEDIT_CLASS
10A
,
(
int
)
GetLastError
());
ret
=
SendMessage
(
hwnd
,
EM_GETOPTIONS
,
0
,
0
);
ok
(
ret
&
ECO_AUTOVSCROLL
,
"ECO_AUTOVSCROLL isn't set.
\n
"
);
ok
(
!
(
ret
&
ECO_AUTOHSCROLL
),
"ECO_AUTOHSCROLL is set.
\n
"
);
...
...
@@ -964,10 +964,10 @@ static void test_autoscroll(void)
ok
(
!
(
ret
&
ES_AUTOHSCROLL
),
"ES_AUTOHSCROLL is set.
\n
"
);
DestroyWindow
(
hwnd
);
hwnd
=
CreateWindowEx
(
0
,
RICHEDIT_CLASS
,
NULL
,
hwnd
=
CreateWindowEx
(
0
,
RICHEDIT_CLASS
10A
,
NULL
,
WS_POPUP
|
ES_MULTILINE
,
0
,
0
,
200
,
60
,
NULL
,
NULL
,
hmoduleRichEdit
,
NULL
);
ok
(
hwnd
!=
NULL
,
"class: %s, error: %d
\n
"
,
RICHEDIT_CLASS
,
(
int
)
GetLastError
());
ok
(
hwnd
!=
NULL
,
"class: %s, error: %d
\n
"
,
RICHEDIT_CLASS
10A
,
(
int
)
GetLastError
());
ret
=
SendMessage
(
hwnd
,
EM_GETOPTIONS
,
0
,
0
);
ok
(
!
(
ret
&
ECO_AUTOVSCROLL
),
"ECO_AUTOVSCROLL is set.
\n
"
);
ok
(
!
(
ret
&
ECO_AUTOHSCROLL
),
"ECO_AUTOHSCROLL is set.
\n
"
);
...
...
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