# HG changeset patch # User Christian Brabandt # Date 1472503506 -7200 # Node ID 48f70e0c696a3747ea2d613c9625d867647e3857 # Parent b0a7d1e90362827ae65442b6f0e77d16c3fe4005 commit https://github.com/vim/vim/commit/965ed14973fd3f1b2aace7bae4d4722b71ca04f9 Author: Bram Moolenaar Date: Mon Aug 29 22:31:24 2016 +0200 patch 7.4.2292 Problem: Not all systems understand %F in printf(). Solution: Use %f. diff --git a/src/message.c b/src/message.c --- 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); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2292, +/**/ 2291, /**/ 2290,