Mercurial > vim
comparison src/message.c @ 1656:eb6fc577c96c v7.2a.008
updated for version 7.2a-008
author | vimboss |
---|---|
date | Sat, 28 Jun 2008 14:10:11 +0000 |
parents | b9740fb41986 |
children | 630eca9496e0 |
comparison
equal
deleted
inserted
replaced
1655:6412b0befebc | 1656:eb6fc577c96c |
---|---|
3903 else | 3903 else |
3904 { | 3904 { |
3905 ++*idxp; | 3905 ++*idxp; |
3906 if (tvs[idx].v_type == VAR_FLOAT) | 3906 if (tvs[idx].v_type == VAR_FLOAT) |
3907 f = tvs[idx].vval.v_float; | 3907 f = tvs[idx].vval.v_float; |
3908 else if (tvs[idx].v_type == VAR_NUMBER) | |
3909 f = tvs[idx].vval.v_number; | |
3908 else | 3910 else |
3909 EMSG(_("E807: Expected Float argument for printf()")); | 3911 EMSG(_("E807: Expected Float argument for printf()")); |
3910 } | 3912 } |
3911 return f; | 3913 return f; |
3912 } | 3914 } |