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
badfdaf5
Commit
badfdaf5
authored
Aug 15, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Aug 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Fix SHFormatDateTimeW tests for right-to-left locales.
parent
b5381dd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ordinal.c
dlls/shlwapi/tests/ordinal.c
+5
-4
No files found.
dlls/shlwapi/tests/ordinal.c
View file @
badfdaf5
...
@@ -1794,6 +1794,7 @@ static void test_SHFormatDateTimeW(void)
...
@@ -1794,6 +1794,7 @@ static void test_SHFormatDateTimeW(void)
INT
ret
;
INT
ret
;
static
const
WCHAR
spaceW
[]
=
{
' '
,
0
};
static
const
WCHAR
spaceW
[]
=
{
' '
,
0
};
#define UNICODE_LTR_MARK 0x200e
#define UNICODE_LTR_MARK 0x200e
#define UNICODE_RTL_MARK 0x200f
if
(
!
pSHFormatDateTimeW
)
if
(
!
pSHFormatDateTimeW
)
{
{
...
@@ -1923,9 +1924,9 @@ if (0)
...
@@ -1923,9 +1924,9 @@ if (0)
p2
=
buff2
;
p2
=
buff2
;
while
(
*
p2
!=
'\0'
)
while
(
*
p2
!=
'\0'
)
{
{
while
(
*
p1
==
UNICODE_LTR_MARK
)
while
(
*
p1
==
UNICODE_LTR_MARK
||
*
p1
==
UNICODE_RTL_MARK
)
p1
++
;
p1
++
;
while
(
*
p2
==
UNICODE_LTR_MARK
)
while
(
*
p2
==
UNICODE_LTR_MARK
||
*
p2
==
UNICODE_RTL_MARK
)
p2
++
;
p2
++
;
p1
++
;
p1
++
;
p2
++
;
p2
++
;
...
@@ -1949,9 +1950,9 @@ if (0)
...
@@ -1949,9 +1950,9 @@ if (0)
p2
=
buff2
;
p2
=
buff2
;
while
(
*
p2
!=
'\0'
)
while
(
*
p2
!=
'\0'
)
{
{
while
(
*
p1
==
UNICODE_LTR_MARK
)
while
(
*
p1
==
UNICODE_LTR_MARK
||
*
p1
==
UNICODE_RTL_MARK
)
p1
++
;
p1
++
;
while
(
*
p2
==
UNICODE_LTR_MARK
)
while
(
*
p2
==
UNICODE_LTR_MARK
||
*
p2
==
UNICODE_RTL_MARK
)
p2
++
;
p2
++
;
p1
++
;
p1
++
;
p2
++
;
p2
++
;
...
...
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