summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-22 14:35:51 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-22 14:35:51 +0200
commit53f8174eaeb93b381cf74c58863f8fe82748a22a (patch)
tree8f60614e9840f38bd2a05a48809bb7b29adc26b1 /src/edit.c
parent76301956f0c079d893cfd927b11456328bed4f9b (diff)
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/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 447e2ee29e..8486e34aaf 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1776,7 +1776,7 @@ edit_putchar(int c, int highlight)
else
attr = 0;
pc_row = W_WINROW(curwin) + curwin->w_wrow;
- pc_col = W_WINCOL(curwin);
+ pc_col = curwin->w_wincol;
#if defined(FEAT_RIGHTLEFT) || defined(FEAT_MBYTE)
pc_status = PC_STATUS_UNSET;
#endif