diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-05-18 21:46:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-18 21:46:31 +0200 |
commit | 4781d6fd8670af415c3b78f00d70036af85bd286 (patch) | |
tree | 48004675da2c28e5d478308d6a0da87da4d1ed67 /src/json.c | |
parent | 796139ae3ac89e27ee96dce3c7fdb87d8c839f53 (diff) |
patch 8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented codev8.2.2871
Problem: Unnessary VIM_ISDIGIT() calls, badly indented code.
Solution: Call skipdigits() on the next character. Improve indenting.
(Dominique Pellé, closes #8227)
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c index 25349b7551..db25b70cc4 100644 --- a/src/json.c +++ b/src/json.c @@ -607,7 +607,7 @@ json_decode_item(js_read_T *reader, typval_T *res, int options) cur_item = res; init_tv(&item); if (res != NULL) - init_tv(res); + init_tv(res); fill_numbuflen(reader); p = reader->js_buf + reader->js_used; |