diff src/ex_docmd.c @ 12513:3ca08bf99396 v8.0.1135

patch 8.0.1135: W_WINCOL() is always the same commit https://github.com/vim/vim/commit/53f8174eaeb93b381cf74c58863f8fe82748a22a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 22 14:35:51 2017 +0200 patch 8.0.1135: W_WINCOL() is always the same Problem: W_WINCOL() is always the same. Solution: Expand the macro.
author Christian Brabandt <cb@256bit.org>
date Fri, 22 Sep 2017 14:45:06 +0200
parents 68d7bc045dbe
children 972ea22c946f
line wrap: on
line diff
--- 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;