diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-22 15:20:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-22 15:20:32 +0200 |
commit | 0263146b5dbbb6c120ce2e7720256503b864425d (patch) | |
tree | b6f18fde8fd4bbc29c322b414ac584106e512d7a /src/if_mzsch.c | |
parent | 53f8174eaeb93b381cf74c58863f8fe82748a22a (diff) | |
download | vim-git-0263146b5dbbb6c120ce2e7720256503b864425d.tar.gz |
patch 8.0.1136: W_WIDTH() is always the samev8.0.1136
Problem: W_WIDTH() is always the same.
Solution: Expand the macro.
Diffstat (limited to 'src/if_mzsch.c')
-rw-r--r-- | src/if_mzsch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_mzsch.c b/src/if_mzsch.c index 657782273..c9c596948 100644 --- a/src/if_mzsch.c +++ b/src/if_mzsch.c @@ -2063,7 +2063,7 @@ get_window_width(void *data, int argc, Scheme_Object **argv) Vim_Prim *prim = (Vim_Prim *)data; vim_mz_window *win = get_window_arg(prim->name, 0, argc, argv); - return scheme_make_integer(W_WIDTH(win->win)); + return scheme_make_integer(win->win->w_width); } /* (set-win-width {width} [window]) */ |