diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-22 14:35:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-22 14:35:51 +0200 |
commit | 53f8174eaeb93b381cf74c58863f8fe82748a22a (patch) | |
tree | 8f60614e9840f38bd2a05a48809bb7b29adc26b1 /src/gui_w32.c | |
parent | 76301956f0c079d893cfd927b11456328bed4f9b (diff) | |
download | vim-53f8174eaeb93b381cf74c58863f8fe82748a22a.zip |
patch 8.0.1135: W_WINCOL() is always the same
Problem: W_WINCOL() is always the same.
Solution: Expand the macro.
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index d9ac8465e..aa0948843 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -6608,7 +6608,7 @@ gui_make_popup(char_u *path_name, int mouse_pos) } else if (curwin != NULL) { - p.x += TEXT_X(W_WINCOL(curwin) + curwin->w_wcol + 1); + p.x += TEXT_X(curwin->w_wincol + curwin->w_wcol + 1); p.y += TEXT_Y(W_WINROW(curwin) + curwin->w_wrow + 1); } msg_scroll = FALSE; |