patch 8.0.1135: W_WINCOL() is always the same
Problem: W_WINCOL() is always the same.
Solution: Expand the macro.
diff --git a/src/if_py_both.h b/src/if_py_both.h
index aa6f06b..ea8752d 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -3877,7 +3877,7 @@
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)