From e724baacde0b229396816c79fea3bed52f8e021d Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Wed, 24 Sep 2008 16:57:29 +0000 Subject: [PATCH] more correct fix svn path=/trunk/; revision=36488 --- reactos/dll/cpl/intl/currency.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/cpl/intl/currency.c b/reactos/dll/cpl/intl/currency.c index 9e81f6c2ff9..4b601a2c2e4 100644 --- a/reactos/dll/cpl/intl/currency.c +++ b/reactos/dll/cpl/intl/currency.c @@ -413,7 +413,7 @@ SetCurrencyDigNum(HWND hwndDlg, LCID lcid) (LPARAM)0); /* Save number of digidts in field */ - if (nCurrSel > 0) + if (nCurrSel != CB_ERR) SetLocaleInfo(lcid, LOCALE_SMONGROUPING, szFieldDigNumSamples[nCurrSel]); return TRUE;