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:
@@ -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()"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user