A truly ancient bug, discovered with an Xcode-5.1 compiler warning.

This commit is contained in:
John Ralls 2014-05-15 17:04:26 -07:00
parent 6e62ce9938
commit eabaee8eb5

View File

@ -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);
}