diff options
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c index 264d15a12..90c4ffb12 100644 --- a/src/message.c +++ b/src/message.c @@ -4797,7 +4797,7 @@ vim_vsnprintf( precision = max_prec; l += sprintf(format + l, ".%d", (int)precision); } - format[l] = fmt_spec; + format[l] = fmt_spec == 'F' ? 'f' : fmt_spec; format[l + 1] = NUL; str_arg_l = sprintf(tmp, format, f); |