Alexandre Julliard : kernelbase: Reimplement currency formatting values in GetLocaleInfoW/Ex using the locale.nls data.
Alexandre Julliard
julliard at winehq.org
Wed Mar 30 15:43:55 CDT 2022
Module: wine
Branch: master
Commit: 07cbbdeaaabd188c177c6ead3dbae2b4d06249fd
URL: https://source.winehq.org/git/wine.git/?a=commit;h=07cbbdeaaabd188c177c6ead3dbae2b4d06249fd
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Mar 29 22:11:44 2022 +0200
kernelbase: Reimplement currency formatting values in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernelbase/locale.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/kernelbase/locale.c b/dlls/kernelbase/locale.c
index f0db9cd0c43..a0960703097 100644
--- a/dlls/kernelbase/locale.c
+++ b/dlls/kernelbase/locale.c
@@ -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 );
case LOCALE_SMONDECIMALSEP:
- return -1;
+ return locale_return_string( locale->smondecimalsep, type, buffer, len );
case LOCALE_SMONTHOUSANDSEP:
- return -1;
+ return locale_return_string( locale->smonthousandsep, type, buffer, len );
case LOCALE_SMONGROUPING:
- return -1;
+ return locale_return_grouping( locale->smongrouping, type, buffer, len );
case LOCALE_ICURRDIGITS:
case LOCALE_IINTLCURRDIGITS:
- return -1;
+ return locale_return_number( locale->icurrdigits, type, buffer, len );
case LOCALE_ICURRENCY:
- return -1;
+ return locale_return_number( locale->icurrency, type, buffer, len );
case LOCALE_INEGCURR:
- return -1;
+ return locale_return_number( locale->inegcurr, type, buffer, len );
case LOCALE_SDATE:
return -1;
More information about the wine-cvs
mailing list