mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.4155: translating strftime() argument results in check error
Problem: Translating strftime() argument results in check error. Solution: Add gettext comment.
This commit is contained in:
@@ -93,6 +93,7 @@ get_ctime(time_t thetime, int add_newline)
|
|||||||
vim_strncpy((char_u *)buf, (char_u *)_("(Invalid)"), sizeof(buf) - 1);
|
vim_strncpy((char_u *)buf, (char_u *)_("(Invalid)"), sizeof(buf) - 1);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// xgettext:no-c-format
|
||||||
(void)strftime(buf, sizeof(buf) - 1, _("%a %b %d %H:%M:%S %Y"),
|
(void)strftime(buf, sizeof(buf) - 1, _("%a %b %d %H:%M:%S %Y"),
|
||||||
curtime);
|
curtime);
|
||||||
# ifdef MSWIN
|
# ifdef MSWIN
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4155,
|
||||||
/**/
|
/**/
|
||||||
4154,
|
4154,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user