Skip to content

Commit

Permalink
patch 8.2.4155: translating strftime() argument results in check error
Browse files Browse the repository at this point in the history
Problem:    Translating strftime() argument results in check error.
Solution:   Add gettext comment.
  • Loading branch information
brammool committed Jan 20, 2022
1 parent 05b2761 commit 7e93577
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4155,
/**/
4154,
/**/
Expand Down

0 comments on commit 7e93577

Please sign in to comment.