Skip to content
Permalink
Browse files

Fix a C99 strftime incantation

This is problematic when building pango as subproject
of gtk on the win32 ci.
  • Loading branch information...
Matthias Clasen
Matthias Clasen committed Aug 2, 2019
1 parent 5bd13c7 commit 5b21b68299ceb33d42a8b76669ceeefe5c099825
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/gen-script-for-lang.c
@@ -253,7 +253,7 @@ int main (void)
max_script_len = MAX (max_script_len, j);
}

if ((t = time(NULL), tmp = localtime (&t)) && strftime(date_buf, sizeof(date_buf), "%F", tmp))
if ((t = time(NULL), tmp = localtime (&t)) && strftime(date_buf, sizeof(date_buf), "%Y-%m-%d", tmp))
date_str = date_buf;

fc_version = FcGetVersion ();

0 comments on commit 5b21b68

Please sign in to comment.
You can’t perform that action at this time.