mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
GetCurrencyFormatW() formatting bug fix by Viliam Lejcik <lejcik at host dot sk>
svn path=/trunk/; revision=44158
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user