diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-08 15:43:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-08 15:43:34 +0200 |
commit | 2950065e18649d234b16e60dd0e3d75adeca4513 (patch) | |
tree | 022aa2da8ed1f6588ac02d9be71a1d69df89c73b /src/viminfo.c | |
parent | 267359902c8792fed13543ddeb56c6df0ae74957 (diff) | |
download | vim-git-2950065e18649d234b16e60dd0e3d75adeca4513.tar.gz |
patch 8.2.3315: cannot use single quote in a float number for readabilityv8.2.3315
Problem: Cannot use single quote in a float number for readability.
Solution: Support single quotes like in numbers. (closes #8713)
Diffstat (limited to 'src/viminfo.c')
-rw-r--r-- | src/viminfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viminfo.c b/src/viminfo.c index 6b92cc64a..1d3bac15e 100644 --- a/src/viminfo.c +++ b/src/viminfo.c @@ -1247,7 +1247,7 @@ read_viminfo_varlist(vir_T *virp, int writing) (int)(tab - virp->vir_line + 1), TRUE); #ifdef FEAT_FLOAT else if (type == VAR_FLOAT) - (void)string2float(tab + 1, &tv.vval.v_float); + (void)string2float(tab + 1, &tv.vval.v_float, FALSE); #endif else { |