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
f662e254
Commit
f662e254
authored
Dec 08, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Fixed string tests for non-English locales.
parent
1f07e4af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
string.c
dlls/shlwapi/tests/string.c
+8
-6
No files found.
dlls/shlwapi/tests/string.c
View file @
f662e254
...
@@ -761,8 +761,8 @@ START_TEST(string)
...
@@ -761,8 +761,8 @@ START_TEST(string)
TCHAR
decimalDelim
[
8
];
TCHAR
decimalDelim
[
8
];
CoInitialize
(
0
);
CoInitialize
(
0
);
GetLocaleInfo
(
GetUserDefaultLCID
()
,
LOCALE_STHOUSAND
,
thousandDelim
,
8
);
GetLocaleInfo
(
LOCALE_USER_DEFAULT
,
LOCALE_STHOUSAND
,
thousandDelim
,
8
);
GetLocaleInfo
(
GetUserDefaultLCID
()
,
LOCALE_SDECIMAL
,
decimalDelim
,
8
);
GetLocaleInfo
(
LOCALE_USER_DEFAULT
,
LOCALE_SDECIMAL
,
decimalDelim
,
8
);
hShlwapi
=
GetModuleHandleA
(
"shlwapi"
);
hShlwapi
=
GetModuleHandleA
(
"shlwapi"
);
if
(
!
hShlwapi
)
if
(
!
hShlwapi
)
...
@@ -787,11 +787,13 @@ START_TEST(string)
...
@@ -787,11 +787,13 @@ START_TEST(string)
test_StrFormatKBSizeA
();
test_StrFormatKBSizeA
();
test_StrFormatKBSizeW
();
test_StrFormatKBSizeW
();
}
}
if
(
0
)
{
/* language-dependent test */
/* language-dependent test. FIXME: how to detect the language? */
if
(
PRIMARYLANGID
(
GetUserDefaultLangID
())
!=
LANG_ENGLISH
)
trace
(
"Skipping StrFromTimeInterval test for non English language
\n
"
);
else
test_StrFromTimeIntervalA
();
test_StrFromTimeIntervalA
();
}
test_StrCmpA
();
test_StrCmpA
();
test_StrCmpW
();
test_StrCmpW
();
test_StrRetToBSTR
();
test_StrRetToBSTR
();
...
...
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