case GDK_comma:
if (comma_decimal < 0) {
std::lconv* lc = std::localeconv();
- cerr << "***** Locale decimal point = [" << lc->decimal_point << "]\n";
if (strchr (lc->decimal_point, ',') != 0) {
comma_decimal = 1;
} else {
}
switch (keyval) {
+ case GDK_decimalpoint:
+ case GDK_KP_Separator:
+ return true;
+
case GDK_period:
if (comma_decimal) {
return false;