mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
A truly ancient bug, discovered with an Xcode-5.1 compiler warning.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user