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/if_py_both.h | |
parent | 76301956f0c079d893cfd927b11456328bed4f9b (diff) | |
download | vim-git-53f8174eaeb93b381cf74c58863f8fe82748a22a.tar.gz |
patch 8.0.1135: W_WINCOL() is always the samev8.0.1135
Problem: W_WINCOL() is always the same.
Solution: Expand the macro.
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r-- | src/if_py_both.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index aa6f06bbc..ea8752d98 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -3877,7 +3877,7 @@ WindowAttr(WindowObject *self, char *name) else if (strcmp(name, "width") == 0) return PyLong_FromLong((long)(W_WIDTH(self->win))); else if (strcmp(name, "col") == 0) - return PyLong_FromLong((long)(W_WINCOL(self->win))); + return PyLong_FromLong((long)(self->win->w_wincol)); else if (strcmp(name, "vars") == 0) return NEW_DICTIONARY(self->win->w_vars); else if (strcmp(name, "options") == 0) |