]> granicus.if.org Git - vim/commitdiff
patch 8.2.4155: translating strftime() argument results in check error v8.2.4155
authorBram Moolenaar <Bram@vim.org>
Thu, 20 Jan 2022 14:25:57 +0000 (14:25 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 20 Jan 2022 14:25:57 +0000 (14:25 +0000)
Problem:    Translating strftime() argument results in check error.
Solution:   Add gettext comment.

src/time.c
src/version.c

index 75e7b2546f141b07610304008bb914802db81a50..020f78dd0e8e278d10d22f41a460af5a1ddc9598 100644 (file)
@@ -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
index e32abbb79af823c506e984da98cd9abbdcabb65f..6cccadfd2a211296504399918b25986339a410de 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4155,
 /**/
     4154,
 /**/