forked from aniani/vim
patch 9.0.0491: no good reason to build without the float feature
Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
This commit is contained in:
@@ -1488,14 +1488,12 @@ apply_leader(typval_T *rettv, int numeric_only, char_u *start, char_u **end)
|
||||
if (*p == '-' || *p == '+')
|
||||
{
|
||||
// only '-' has an effect, for '+' we only check the type
|
||||
#ifdef FEAT_FLOAT
|
||||
if (rettv->v_type == VAR_FLOAT)
|
||||
{
|
||||
if (*p == '-')
|
||||
rettv->vval.v_float = -rettv->vval.v_float;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
varnumber_T val;
|
||||
int error = FALSE;
|
||||
|
Reference in New Issue
Block a user