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/gui_mac.c b/src/gui_mac.c index 8803487..bbb0857 100644 --- a/src/gui_mac.c +++ b/src/gui_mac.c
@@ -1612,7 +1612,7 @@ else /* Bottom scrollbar */ { sb_info = sb; - page = W_WIDTH(curwin) - 5; + page = curwin->w_width - 5; } switch (partCode)