diff options
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c index f55dba68f..684401cd2 100644 --- a/src/screen.c +++ b/src/screen.c @@ -8967,9 +8967,12 @@ can_clear(char_u *p) || gui.in_use #endif #ifdef FEAT_TERMGUICOLORS - || (p_tgc && cterm_normal_bg_gui_color != (long_u)INVALCOLOR) + || (p_tgc && cterm_normal_bg_gui_color == (long_u)INVALCOLOR) + || (!p_tgc && cterm_normal_bg_color == 0) +#else + || cterm_normal_bg_color == 0 #endif - || cterm_normal_bg_color == 0 || *T_UT != NUL)); + || *T_UT != NUL)); } /* |