diff options
-rw-r--r-- | src/message.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c index 8387d9366..66936cda3 100644 --- a/src/message.c +++ b/src/message.c @@ -3905,6 +3905,8 @@ tv_float(tvs, idxp) ++*idxp; if (tvs[idx].v_type == VAR_FLOAT) f = tvs[idx].vval.v_float; + else if (tvs[idx].v_type == VAR_NUMBER) + f = tvs[idx].vval.v_number; else EMSG(_("E807: Expected Float argument for printf()")); } diff --git a/src/version.c b/src/version.c index fd7795e7a..93b795784 100644 --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 8, +/**/ 7, /**/ 6, |