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
0b58d83d
Commit
0b58d83d
authored
Jun 17, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp110: Use ___lc_locale_name_func in _Getdateorder.
parent
bcc29002
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
locale.c
dlls/msvcp90/locale.c
+6
-0
No files found.
dlls/msvcp90/locale.c
View file @
0b58d83d
...
@@ -761,9 +761,15 @@ int __cdecl _Getdateorder(void)
...
@@ -761,9 +761,15 @@ int __cdecl _Getdateorder(void)
{
{
WCHAR
date_fmt
[
2
];
WCHAR
date_fmt
[
2
];
#if _MSVCP_VER < 110
if
(
!
GetLocaleInfoW
(
___lc_handle_func
()[
LC_TIME
],
LOCALE_ILDATE
,
if
(
!
GetLocaleInfoW
(
___lc_handle_func
()[
LC_TIME
],
LOCALE_ILDATE
,
date_fmt
,
sizeof
(
date_fmt
)
/
sizeof
(
*
date_fmt
)))
date_fmt
,
sizeof
(
date_fmt
)
/
sizeof
(
*
date_fmt
)))
return
DATEORDER_no_order
;
return
DATEORDER_no_order
;
#else
if
(
!
GetLocaleInfoEx
(
___lc_locale_name_func
()[
LC_TIME
],
LOCALE_ILDATE
,
date_fmt
,
sizeof
(
date_fmt
)
/
sizeof
(
*
date_fmt
)))
return
DATEORDER_no_order
;
#endif
if
(
*
date_fmt
==
'0'
)
return
DATEORDER_mdy
;
if
(
*
date_fmt
==
'0'
)
return
DATEORDER_mdy
;
if
(
*
date_fmt
==
'1'
)
return
DATEORDER_dmy
;
if
(
*
date_fmt
==
'1'
)
return
DATEORDER_dmy
;
...
...
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