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
00fd05d4
Commit
00fd05d4
authored
Mar 29, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Reimplement calendar options in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
30e8a28c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
locale.c
dlls/kernelbase/locale.c
+4
-4
No files found.
dlls/kernelbase/locale.c
View file @
00fd05d4
...
...
@@ -1276,19 +1276,19 @@ static int get_locale_info( const NLS_LOCALE_DATA *locale, LCID lcid, LCTYPE typ
return
locale_return_string
(
locale
->
snativecurrname
,
type
,
buffer
,
len
);
case
LOCALE_ICALENDARTYPE
:
return
-
1
;
return
locale_return_number
(
locale_strings
[
locale
->
scalendartype
+
1
],
type
,
buffer
,
len
)
;
case
LOCALE_IPAPERSIZE
:
return
-
1
;
case
LOCALE_IOPTIONALCALENDAR
:
return
-
1
;
return
locale_return_number
(
locale_strings
[
locale
->
scalendartype
+
2
],
type
,
buffer
,
len
)
;
case
LOCALE_IFIRSTDAYOFWEEK
:
return
-
1
;
return
locale_return_number
(
(
locale
->
ifirstdayofweek
+
6
)
%
7
,
type
,
buffer
,
len
)
;
case
LOCALE_IFIRSTWEEKOFYEAR
:
return
-
1
;
return
locale_return_number
(
locale
->
ifirstweekofyear
,
type
,
buffer
,
len
)
;
case
LOCALE_SMONTHNAME13
:
return
locale_return_strarray
(
((
type
&
LOCALE_RETURN_GENITIVE_NAMES
)
&&
locale
->
sgenitivemonth
)
?
...
...
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