Author: cwittich
Date: Wed Sep 24 11:57:29 2008
New Revision: 36488
URL:
http://svn.reactos.org/svn/reactos?rev=36488&view=rev
Log:
more correct fix
Modified:
trunk/reactos/dll/cpl/intl/currency.c
Modified: trunk/reactos/dll/cpl/intl/currency.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/currency.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/intl/currency.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/currency.c [iso-8859-1] Wed Sep 24 11:57:29 2008
@@ -413,7 +413,7 @@
(LPARAM)0);
/* Save number of digidts in field */
- if (nCurrSel > 0)
+ if (nCurrSel != CB_ERR)
SetLocaleInfo(lcid, LOCALE_SMONGROUPING, szFieldDigNumSamples[nCurrSel]);
return TRUE;