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
638dbc4b
Commit
638dbc4b
authored
Mar 08, 2021
by
Huw Davies
Committed by
Alexandre Julliard
Mar 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched32/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
dc85e70b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
editor.c
dlls/riched32/tests/editor.c
+2
-2
No files found.
dlls/riched32/tests/editor.c
View file @
638dbc4b
...
...
@@ -53,7 +53,7 @@ static HWND new_richedit(HWND parent) {
static
BOOL
is_rtl
(
void
)
{
LOCALESIGNATURE
sig
;
return
(
GetLocaleInfoA
(
LOCALE_
USER
_DEFAULT
,
LOCALE_FONTSIGNATURE
,
return
(
GetLocaleInfoA
(
LOCALE_
SYSTEM
_DEFAULT
,
LOCALE_FONTSIGNATURE
,
(
LPSTR
)
&
sig
,
sizeof
(
LOCALESIGNATURE
))
&&
(
sig
.
lsUsb
[
3
]
&
0x08000000
)
!=
0
);
}
...
...
@@ -1440,7 +1440,7 @@ START_TEST( editor )
* RICHED32.DLL, so the linker doesn't actually link to it. */
hmoduleRichEdit
=
LoadLibraryA
(
"riched32.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_SETTEXT
();
test_EM_GETTEXTRANGE
();
...
...
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