mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 7.4.2292
Problem: Not all systems understand %F in printf(). Solution: Use %f.
This commit is contained in:
@@ -4797,7 +4797,7 @@ vim_vsnprintf(
|
|||||||
precision = max_prec;
|
precision = max_prec;
|
||||||
l += sprintf(format + l, ".%d", (int)precision);
|
l += sprintf(format + l, ".%d", (int)precision);
|
||||||
}
|
}
|
||||||
format[l] = fmt_spec;
|
format[l] = fmt_spec == 'F' ? 'f' : fmt_spec;
|
||||||
format[l + 1] = NUL;
|
format[l + 1] = NUL;
|
||||||
|
|
||||||
str_arg_l = sprintf(tmp, format, f);
|
str_arg_l = sprintf(tmp, format, f);
|
||||||
|
@@ -763,6 +763,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 */
|
||||||
|
/**/
|
||||||
|
2292,
|
||||||
/**/
|
/**/
|
||||||
2291,
|
2291,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user