diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-22 14:35:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-22 14:35:51 +0200 |
commit | 53f8174eaeb93b381cf74c58863f8fe82748a22a (patch) | |
tree | 8f60614e9840f38bd2a05a48809bb7b29adc26b1 /src/ex_docmd.c | |
parent | 76301956f0c079d893cfd927b11456328bed4f9b (diff) | |
download | vim-git-53f8174eaeb93b381cf74c58863f8fe82748a22a.tar.gz |
patch 8.0.1135: W_WINCOL() is always the samev8.0.1135
Problem: W_WINCOL() is always the same.
Solution: Expand the macro.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index dbdd4034a..adf42799e 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -9111,7 +9111,7 @@ ex_sleep(exarg_T *eap) { n = W_WINROW(curwin) + curwin->w_wrow - msg_scrolled; if (n >= 0) - windgoto((int)n, W_WINCOL(curwin) + curwin->w_wcol); + windgoto((int)n, curwin->w_wincol + curwin->w_wcol); } len = eap->line2; |