more correct fix

svn path=/trunk/; revision=36488
This commit is contained in:
Christoph von Wittich
2008-09-24 16:57:29 +00:00
parent d91564734d
commit e724baacde
+1 -1
View File
@@ -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;