0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.2a-008

This commit is contained in:
Bram Moolenaar
2008-06-28 14:10:11 +00:00
parent 8d00f9c5b9
commit c4a87015f7
2 changed files with 4 additions and 0 deletions

View File

@@ -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()"));
}