diff options
| author | bfredl <bjorn.linse@gmail.com> | 2023-05-23 12:01:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-23 12:01:20 +0200 |
| commit | 30c02781cac103312e022d62797c08fef0f3e6c1 (patch) | |
| tree | 1a047542d8cd17146a235bad173b7f814ceb806c /src/nvim/normal.c | |
| parent | 62e0e0349c00c2c1fa1e5ec09aa7028f12ed329b (diff) | |
| parent | cfd4fdfea4d0e68ea50ad412b88b5289ded6fd6f (diff) | |
| download | rneovim-30c02781cac103312e022d62797c08fef0f3e6c1.tar.gz rneovim-30c02781cac103312e022d62797c08fef0f3e6c1.tar.bz2 rneovim-30c02781cac103312e022d62797c08fef0f3e6c1.zip | |
Merge pull request #23730 from famiu/refactor/api/helpers
refactor(api): new helper macros for cstrings as objects
Diffstat (limited to 'src/nvim/normal.c')
| -rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index c3fdb304a3..60fff45323 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -2031,7 +2031,7 @@ static void display_showcmd(void) if (len > 0) { // placeholder for future highlight support ADD_C(chunk, INTEGER_OBJ(0)); - ADD_C(chunk, STRING_OBJ(cstr_as_string(showcmd_buf))); + ADD_C(chunk, CSTR_AS_OBJ(showcmd_buf)); ADD_C(content, ARRAY_OBJ(chunk)); } ui_call_msg_showcmd(content); |