From 53f8174eaeb93b381cf74c58863f8fe82748a22a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 22 Sep 2017 14:35:51 +0200 Subject: patch 8.0.1135: W_WINCOL() is always the same Problem: W_WINCOL() is always the same. Solution: Expand the macro. --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window.c') diff --git a/src/window.c b/src/window.c index 370f749a8..ca56d9cc7 100644 --- a/src/window.c +++ b/src/window.c @@ -2724,7 +2724,7 @@ winframe_remove( if (frp2 == frp_close->fr_next) { int row = win->w_winrow; - int col = W_WINCOL(win); + int col = win->w_wincol; frame_comp_pos(frp2, &row, &col); } -- cgit v1.2.3