diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-27 21:17:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-27 21:17:32 +0200 |
commit | 5d7c2df536c17db4a9c61e0760bdcf78d0db7330 (patch) | |
tree | 74a24ee4dec7bed9866c328da2bf3ac00460ef77 /src/proto/misc2.pro | |
parent | 53ba05b09075f14227f9be831a22ed16f7cc26b2 (diff) |
patch 8.2.3228: cannot use a simple block for the :command argumentv8.2.3228
Problem: Cannot use a simple block for the :command argument. (Maarten
Tournoij)
Solution: Recognize a simple {} block. (issue #8623)
Diffstat (limited to 'src/proto/misc2.pro')
-rw-r--r-- | src/proto/misc2.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro index 5f7d70927b..5ecd5958fd 100644 --- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -43,7 +43,7 @@ void ga_init2(garray_T *gap, int itemsize, int growsize); int ga_grow(garray_T *gap, int n); int ga_grow_inner(garray_T *gap, int n); char_u *ga_concat_strings(garray_T *gap, char *sep); -void ga_add_string(garray_T *gap, char_u *p); +int ga_add_string(garray_T *gap, char_u *p); void ga_concat(garray_T *gap, char_u *s); void ga_append(garray_T *gap, int c); void append_ga_line(garray_T *gap); |