Backport John's fix for a truly ancient bug

This commit is contained in:
Geert Janssens 2014-05-20 10:31:12 +02:00
parent c742110c11
commit 5af8d2318d

View File

@ -1343,7 +1343,7 @@ char dateSeparator (void)
gnc_localtime_r(&secs, &tm);
qof_strftime(string, sizeof(string), GNC_D_FMT, &tm);
for (s = string; s != '\0'; s++)
for (s = string; *s != '\0'; s++)
if (!isdigit(*s))
return (locale_separator = *s);
}