summaryrefslogtreecommitdiff
path: root/src/workshop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/workshop.c')
-rw-r--r--src/workshop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/workshop.c b/src/workshop.c
index 0b9774fa5..844da854a 100644
--- a/src/workshop.c
+++ b/src/workshop.c
@@ -1087,7 +1087,7 @@ workshop_get_positions(
*curCol = curwin->w_cursor.col;
if (curbuf->b_visual.vi_mode == 'v' &&
- equalpos(curwin->w_cursor, curbuf->b_visual.vi_end))
+ EQUAL_POS(curwin->w_cursor, curbuf->b_visual.vi_end))
{
*selStartLine = curbuf->b_visual.vi_start.lnum;
*selStartCol = curbuf->b_visual.vi_start.col;