Skip to content

Commit 0a0c7a7

Browse files
ShirkShirk
authored andcommitted
Fix logic when checking for w_p_rnu && w_p_cul.
1 parent f538ee3 commit 0a0c7a7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/move.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121

2222
static void comp_botline __ARGS((win_T *wp));
2323
static void redraw_for_cursorline __ARGS((win_T *wp));
24+
#ifdef FEAT_GUI_MACVIM
25+
static void redraw_for_ligatures __ARGS((win_T *wp));
26+
#endif
2427
static int scrolljump_value __ARGS((void));
2528
static int check_top_offset __ARGS((void));
2629
static void curs_rows __ARGS((win_T *wp));
@@ -164,7 +167,7 @@ redraw_for_ligatures(wp)
164167
if (p_macligatures
165168
&& (wp->w_p_rnu == 0
166169
#ifdef FEAT_SYN_HL
167-
|| wp->w_p_cul == 0
170+
&& wp->w_p_cul == 0
168171
#endif
169172
))
170173
redraw_win_later(wp, CLEAR);

0 commit comments

Comments
 (0)