mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Backport John's fix for a truly ancient bug
This commit is contained in:
parent
c742110c11
commit
5af8d2318d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user