mirror of
https://github.com/reactos/reactos.git
synced 2025-05-23 11:04:52 +00:00
GetCurrencyFormatW() formatting bug fix by Viliam Lejcik <lejcik at host dot sk>
svn path=/trunk/; revision=44158
This commit is contained in:
parent
960d3e56d4
commit
283fdbd510
1 changed files with 1 additions and 1 deletions
|
@ -1587,7 +1587,7 @@ GetCurrencyFormatW_Error:
|
|||
|
||||
dwState |= NF_DIGITS_OUT;
|
||||
dwCurrentGroupCount++;
|
||||
if (szSrc >= lpszValue && dwCurrentGroupCount == dwGroupCount)
|
||||
if (szSrc >= lpszValue && dwCurrentGroupCount == dwGroupCount && *szSrc != '-')
|
||||
{
|
||||
LPWSTR lpszGrp = lpFormat->lpThousandSep + strlenW(lpFormat->lpThousandSep) - 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue