mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 05:46:19 +00:00
strftime on windows no longer supports %F. Therefore use %Y-%m-%d which is equivilent. Stops a crash in espeakEdit on Windows.
This commit is contained in:
committed by
Reece H. Dunn
parent
50377416cf
commit
7ebca8cb53
+1
-1
@@ -902,7 +902,7 @@ static void PrintPhonemesUsed(FILE *f, const char *dsource, const char *dictname
|
||||
|
||||
if(mod_time > 0)
|
||||
{
|
||||
strftime(time_string, sizeof(time_string), "%F", localtime(&mod_time));
|
||||
strftime(time_string, sizeof(time_string), "%Y-%m-%d", localtime(&mod_time));
|
||||
fprintf(f,"\n\nDictionary %s_dict %s\n",dictname, time_string);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user