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
07cbbdea
Commit
07cbbdea
authored
Mar 29, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Reimplement currency formatting values in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ba43e4cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
locale.c
dlls/kernelbase/locale.c
+6
-6
No files found.
dlls/kernelbase/locale.c
View file @
07cbbdea
...
@@ -1118,23 +1118,23 @@ static int get_locale_info( const NLS_LOCALE_DATA *locale, LCID lcid, LCTYPE typ
...
@@ -1118,23 +1118,23 @@ static int get_locale_info( const NLS_LOCALE_DATA *locale, LCID lcid, LCTYPE typ
return
locale_return_string
(
locale
->
sintlsymbol
,
type
,
buffer
,
len
);
return
locale_return_string
(
locale
->
sintlsymbol
,
type
,
buffer
,
len
);
case
LOCALE_SMONDECIMALSEP
:
case
LOCALE_SMONDECIMALSEP
:
return
-
1
;
return
locale_return_string
(
locale
->
smondecimalsep
,
type
,
buffer
,
len
)
;
case
LOCALE_SMONTHOUSANDSEP
:
case
LOCALE_SMONTHOUSANDSEP
:
return
-
1
;
return
locale_return_string
(
locale
->
smonthousandsep
,
type
,
buffer
,
len
)
;
case
LOCALE_SMONGROUPING
:
case
LOCALE_SMONGROUPING
:
return
-
1
;
return
locale_return_grouping
(
locale
->
smongrouping
,
type
,
buffer
,
len
)
;
case
LOCALE_ICURRDIGITS
:
case
LOCALE_ICURRDIGITS
:
case
LOCALE_IINTLCURRDIGITS
:
case
LOCALE_IINTLCURRDIGITS
:
return
-
1
;
return
locale_return_number
(
locale
->
icurrdigits
,
type
,
buffer
,
len
)
;
case
LOCALE_ICURRENCY
:
case
LOCALE_ICURRENCY
:
return
-
1
;
return
locale_return_number
(
locale
->
icurrency
,
type
,
buffer
,
len
)
;
case
LOCALE_INEGCURR
:
case
LOCALE_INEGCURR
:
return
-
1
;
return
locale_return_number
(
locale
->
inegcurr
,
type
,
buffer
,
len
)
;
case
LOCALE_SDATE
:
case
LOCALE_SDATE
:
return
-
1
;
return
-
1
;
...
...
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