Module: wine Branch: master Commit: 1ad2cb51c5b3cf98104ea15db4fc6f38e9da6e8a URL: https://source.winehq.org/git/wine.git/?a=commit;h=1ad2cb51c5b3cf98104ea15db...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Wed Apr 27 14:21:16 2022 +0300
nls: Hardcode minus sign for all locales.
CLDR data for RTL locales includes LRM marker for minus sign text, in addition to that some locales are using different dash character. Windows seems to consistently use same character for all locales.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52866 Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
nls/locale.nls | Bin 730526 -> 730506 bytes tools/make_unicode | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/nls/locale.nls b/nls/locale.nls index 329224c92fc..af2f061944a 100644 Binary files a/nls/locale.nls and b/nls/locale.nls differ diff --git a/tools/make_unicode b/tools/make_unicode index 29dea8cd52e..40b64ddca71 100755 --- a/tools/make_unicode +++ b/tools/make_unicode @@ -4716,7 +4716,7 @@ sub build_locale_data() $sthousand =~ s/\x{202f}/\x{00a0}/; my $smonthousandsep = loc_query( $loc, "/ldml/numbers/symbols[@numberSystem='latn']/currencyGroup" ) || $sthousand; my $spositivesign = ""; - my $snegativesign = loc_query( $loc, "/ldml/numbers/symbols[@numberSystem='latn']/minusSign" ); + my $snegativesign = "-"; my $spercent = loc_query( $loc, "/ldml/numbers/symbols[@numberSystem='latn']/percentSign" ); my $snan = loc_query( $loc, "/ldml/numbers/symbols[@numberSystem='latn']/nan" ); my $sposinfinity = loc_query( $loc, "/ldml/numbers/symbols[@numberSystem='latn']/infinity" );