Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
dc85e70b
Commit
dc85e70b
authored
Mar 08, 2021
by
Huw Davies
Committed by
Alexandre Julliard
Mar 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20/tests: Use the system locale to determine rtl and multibyte behaviour.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7a68ae59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
editor.c
dlls/riched20/tests/editor.c
+4
-4
No files found.
dlls/riched20/tests/editor.c
View file @
dc85e70b
...
...
@@ -615,7 +615,7 @@ static void test_EM_POSFROMCHAR(void)
"gg
\n
"
"hh
\n
"
;
rtl
=
(
GetLocaleInfoA
(
LOCALE_
USER
_DEFAULT
,
LOCALE_FONTSIGNATURE
,
rtl
=
(
GetLocaleInfoA
(
LOCALE_
SYSTEM
_DEFAULT
,
LOCALE_FONTSIGNATURE
,
(
LPSTR
)
&
sig
,
sizeof
(
LOCALESIGNATURE
))
&&
(
sig
.
lsUsb
[
3
]
&
0x08000000
)
!=
0
);
...
...
@@ -771,7 +771,7 @@ static void test_EM_SETCHARFORMAT(void)
BOOL
rtl
;
DWORD
expect_effects
;
rtl
=
(
GetLocaleInfoA
(
LOCALE_
USER
_DEFAULT
,
LOCALE_FONTSIGNATURE
,
rtl
=
(
GetLocaleInfoA
(
LOCALE_
SYSTEM
_DEFAULT
,
LOCALE_FONTSIGNATURE
,
(
LPSTR
)
&
sig
,
sizeof
(
LOCALESIGNATURE
))
&&
(
sig
.
lsUsb
[
3
]
&
0x08000000
)
!=
0
);
...
...
@@ -5609,7 +5609,7 @@ static void test_EM_FORMATRANGE(void)
{
"WINE
\r\n\r\n
wine
\r\n
wine"
,
5
,
6
}
};
skip_non_english
=
(
PRIMARYLANGID
(
Get
User
DefaultLangID
())
!=
LANG_ENGLISH
);
skip_non_english
=
(
PRIMARYLANGID
(
Get
System
DefaultLangID
())
!=
LANG_ENGLISH
);
if
(
skip_non_english
)
skip
(
"Skipping some tests on non-English platform
\n
"
);
...
...
@@ -8964,7 +8964,7 @@ START_TEST( editor )
* RICHED20.DLL, so the linker doesn't actually link to it. */
hmoduleRichEdit
=
LoadLibraryA
(
"riched20.dll"
);
ok
(
hmoduleRichEdit
!=
NULL
,
"error: %d
\n
"
,
(
int
)
GetLastError
());
is_lang_japanese
=
(
PRIMARYLANGID
(
Get
User
DefaultLangID
())
==
LANG_JAPANESE
);
is_lang_japanese
=
(
PRIMARYLANGID
(
Get
System
DefaultLangID
())
==
LANG_JAPANESE
);
test_WM_CHAR
();
test_EM_FINDTEXT
(
FALSE
);
...
...
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