13
0

locale debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@13620 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-12-08 19:33:48 +00:00
parent d7716b055c
commit 7fdc582f19

View File

@ -598,6 +598,7 @@ key_is_legal_for_numeric_entry (guint keyval)
case GDK_comma: case GDK_comma:
if (comma_decimal < 0) { if (comma_decimal < 0) {
std::lconv* lc = std::localeconv(); std::lconv* lc = std::localeconv();
cerr << "***** Locale decimal point = [" << lc->decimal_point << "]\n";
if (strchr (lc->decimal_point, ',') != 0) { if (strchr (lc->decimal_point, ',') != 0) {
comma_decimal = 1; comma_decimal = 1;
} else { } else {