comctl32/updown: Skip thousands separation on hex mode.

This commit is contained in:
Nikolay Sivov 2009-09-19 19:40:10 +04:00 committed by Alexandre Julliard
parent 655478075f
commit 963b7b5766
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ static BOOL UPDOWN_SetBuddyInt (const UPDOWN_INFO *infoPtr)
/* Do thousands separation if necessary */
if (!(infoPtr->dwStyle & UDS_NOTHOUSANDS) && (len > 3)) {
if ((infoPtr->Base == 10) && !(infoPtr->dwStyle & UDS_NOTHOUSANDS) && (len > 3)) {
WCHAR tmp[COUNT_OF(txt)], *src = tmp, *dst = txt;
WCHAR sep = UPDOWN_GetThousandSep();
int start = len % 3;