From 963b7b5766595865c5af9a5f9184a81303499708 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sat, 19 Sep 2009 19:40:10 +0400 Subject: [PATCH] comctl32/updown: Skip thousands separation on hex mode. --- dlls/comctl32/updown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/updown.c b/dlls/comctl32/updown.c index a4b9271b270..149de29c69d 100644 --- a/dlls/comctl32/updown.c +++ b/dlls/comctl32/updown.c @@ -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;