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
712e4757
Commit
712e4757
authored
Mar 29, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Reimplement misc format values in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
00fd05d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
locale.c
dlls/kernelbase/locale.c
+3
-3
No files found.
dlls/kernelbase/locale.c
View file @
712e4757
...
...
@@ -978,7 +978,7 @@ static int get_locale_info( const NLS_LOCALE_DATA *locale, LCID lcid, LCTYPE typ
return
-
1
;
case
LOCALE_IMEASURE
:
return
-
1
;
return
locale_return_number
(
locale
->
imeasure
,
type
,
buffer
,
len
)
;
case
LOCALE_SDECIMAL
:
return
-
1
;
...
...
@@ -1203,7 +1203,7 @@ static int get_locale_info( const NLS_LOCALE_DATA *locale, LCID lcid, LCTYPE typ
return
locale_return_string
(
locale
->
senglanguage
,
type
,
buffer
,
len
);
case
LOCALE_IREADINGLAYOUT
:
return
-
1
;
return
locale_return_number
(
locale
->
ireadinglayout
,
type
,
buffer
,
len
)
;
case
LOCALE_INEUTRAL
:
return
-
1
;
...
...
@@ -1279,7 +1279,7 @@ static int get_locale_info( const NLS_LOCALE_DATA *locale, LCID lcid, LCTYPE typ
return
locale_return_number
(
locale_strings
[
locale
->
scalendartype
+
1
],
type
,
buffer
,
len
);
case
LOCALE_IPAPERSIZE
:
return
-
1
;
return
locale_return_number
(
locale
->
ipapersize
,
type
,
buffer
,
len
)
;
case
LOCALE_IOPTIONALCALENDAR
:
return
locale_return_number
(
locale_strings
[
locale
->
scalendartype
+
2
],
type
,
buffer
,
len
);
...
...
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