Nikolay Sivov : comctl32/updown: Skip thousands separation on hex mode.
Alexandre Julliard
julliard at winehq.org
Tue Sep 22 13:55:49 CDT 2009
Module: wine
Branch: master
Commit: 963b7b5766595865c5af9a5f9184a81303499708
URL: http://source.winehq.org/git/wine.git/?a=commit;h=963b7b5766595865c5af9a5f9184a81303499708
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Sat Sep 19 19:40:10 2009 +0400
comctl32/updown: Skip thousands separation on hex mode.
---
dlls/comctl32/updown.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/updown.c b/dlls/comctl32/updown.c
index a4b9271..149de29 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;
More information about the wine-cvs
mailing list