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
50846328
Commit
50846328
authored
Jun 12, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched32/tests: Fix a few test failures on Win9x/WinME/NT4.
parent
acb05666
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 @
50846328
...
@@ -988,7 +988,8 @@ static void test_EM_GETOPTIONS(void)
...
@@ -988,7 +988,8 @@ static void test_EM_GETOPTIONS(void)
WS_POPUP
|
WS_VSCROLL
|
WS_HSCROLL
,
WS_POPUP
|
WS_VSCROLL
|
WS_HSCROLL
,
0
,
0
,
200
,
60
,
NULL
,
NULL
,
hmoduleRichEdit
,
NULL
);
0
,
0
,
200
,
60
,
NULL
,
NULL
,
hmoduleRichEdit
,
NULL
);
options
=
SendMessage
(
hwnd
,
EM_GETOPTIONS
,
0
,
0
);
options
=
SendMessage
(
hwnd
,
EM_GETOPTIONS
,
0
,
0
);
ok
(
options
==
ECO_AUTOVSCROLL
,
ok
(
options
==
ECO_AUTOVSCROLL
||
broken
(
options
==
0
),
/* Win9x, WinME and NT4 */
"Incorrect initial options %x
\n
"
,
options
);
"Incorrect initial options %x
\n
"
,
options
);
DestroyWindow
(
hwnd
);
DestroyWindow
(
hwnd
);
}
}
...
@@ -1005,10 +1006,15 @@ static void test_autoscroll(void)
...
@@ -1005,10 +1006,15 @@ static void test_autoscroll(void)
0
,
0
,
200
,
60
,
NULL
,
NULL
,
hmoduleRichEdit
,
NULL
);
0
,
0
,
200
,
60
,
NULL
,
NULL
,
hmoduleRichEdit
,
NULL
);
ok
(
hwnd
!=
NULL
,
"class: %s, error: %d
\n
"
,
RICHEDIT_CLASS10A
,
(
int
)
GetLastError
());
ok
(
hwnd
!=
NULL
,
"class: %s, error: %d
\n
"
,
RICHEDIT_CLASS10A
,
(
int
)
GetLastError
());
ret
=
SendMessage
(
hwnd
,
EM_GETOPTIONS
,
0
,
0
);
ret
=
SendMessage
(
hwnd
,
EM_GETOPTIONS
,
0
,
0
);
ok
(
ret
&
ECO_AUTOVSCROLL
,
"ECO_AUTOVSCROLL isn't set.
\n
"
);
ok
(
ret
&
ECO_AUTOVSCROLL
||
broken
(
!
(
ret
&
ECO_AUTOVSCROLL
)),
/* Win9x, WinME and NT4 */
"ECO_AUTOVSCROLL isn't set.
\n
"
);
ok
(
!
(
ret
&
ECO_AUTOHSCROLL
),
"ECO_AUTOHSCROLL is set.
\n
"
);
ok
(
!
(
ret
&
ECO_AUTOHSCROLL
),
"ECO_AUTOHSCROLL is set.
\n
"
);
ret
=
GetWindowLong
(
hwnd
,
GWL_STYLE
);
ret
=
GetWindowLong
(
hwnd
,
GWL_STYLE
);
todo_wine
ok
(
ret
&
ES_AUTOVSCROLL
,
"ES_AUTOVSCROLL isn't set.
\n
"
);
todo_wine
ok
(
ret
&
ES_AUTOVSCROLL
||
broken
(
!
(
ret
&
ES_AUTOVSCROLL
)),
/* Win9x, WinMe and NT4 */
"ES_AUTOVSCROLL isn't set.
\n
"
);
ok
(
!
(
ret
&
ES_AUTOHSCROLL
),
"ES_AUTOHSCROLL is set.
\n
"
);
ok
(
!
(
ret
&
ES_AUTOHSCROLL
),
"ES_AUTOHSCROLL is set.
\n
"
);
DestroyWindow
(
hwnd
);
DestroyWindow
(
hwnd
);
...
...
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