From: Bram Moolenaar Date: Thu, 20 Jan 2022 14:25:57 +0000 (+0000) Subject: patch 8.2.4155: translating strftime() argument results in check error X-Git-Tag: v8.2.4155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e93577a957e4f402bb690c4c8629fd831e24a9d;p=vim patch 8.2.4155: translating strftime() argument results in check error Problem: Translating strftime() argument results in check error. Solution: Add gettext comment. --- diff --git a/src/time.c b/src/time.c index 75e7b2546..020f78dd0 100644 --- a/src/time.c +++ b/src/time.c @@ -93,6 +93,7 @@ get_ctime(time_t thetime, int add_newline) vim_strncpy((char_u *)buf, (char_u *)_("(Invalid)"), sizeof(buf) - 1); else { + // xgettext:no-c-format (void)strftime(buf, sizeof(buf) - 1, _("%a %b %d %H:%M:%S %Y"), curtime); # ifdef MSWIN diff --git a/src/version.c b/src/version.c index e32abbb79..6cccadfd2 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4155, /**/ 4154, /**/