mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
A truly ancient bug, discovered with an Xcode-5.1 compiler warning.
This commit is contained in:
parent
6e62ce9938
commit
eabaee8eb5
@ -1353,7 +1353,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