commit | 0263146b5dbbb6c120ce2e7720256503b864425d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Sep 22 15:20:32 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Sep 22 15:20:32 2017 +0200 |
tree | b6f18fde8fd4bbc29c322b414ac584106e512d7a | |
parent | 53f8174eaeb93b381cf74c58863f8fe82748a22a [diff] [blame] |
patch 8.0.1136: W_WIDTH() is always the same Problem: W_WIDTH() is always the same. Solution: Expand the macro.
diff --git a/src/evalfunc.c b/src/evalfunc.c index 6c2a73e..7b019a5 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c
@@ -13239,7 +13239,7 @@ check_cursor(); win_new_height(curwin, curwin->w_height); - win_new_width(curwin, W_WIDTH(curwin)); + win_new_width(curwin, curwin->w_width); changed_window_setting(); if (curwin->w_topline <= 0)