diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-03-22 09:51:46 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-04-12 15:56:40 -0400 |
commit | 73dc9e943cfea92ec0254f6926c9524029cb0222 (patch) | |
tree | afc1a6f2c02ed4793fc6c0e333b7d9ab4455f605 /src/nvim/ex_getln.c | |
parent | 2ec6fec20bb12538b247d7cdacd201005149531c (diff) | |
download | rneovim-73dc9e943cfea92ec0254f6926c9524029cb0222.tar.gz rneovim-73dc9e943cfea92ec0254f6926c9524029cb0222.tar.bz2 rneovim-73dc9e943cfea92ec0254f6926c9524029cb0222.zip |
vim-patch:8.1.2378: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
https://github.com/vim/vim/commit/5d18efecfd6c45d69f55268948a22cd0465bb955
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 0c28f2ae70..ecaab76612 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2447,9 +2447,10 @@ redraw: /* make following messages go to the next line */ msg_didout = FALSE; msg_col = 0; - if (msg_row < Rows - 1) - ++msg_row; - emsg_on_display = FALSE; /* don't want os_delay() */ + if (msg_row < Rows - 1) { + msg_row++; + } + emsg_on_display = false; // don't want os_delay() if (got_int) ga_clear(&line_ga); |