summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index e5a5b1915..7bc77f296 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3228,8 +3228,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
/* no bad word found at line start, don't check until end of a
* word */
spell_hlf = HLF_COUNT;
- word_end = (int)(spell_to_word_end(ptr, wp)
- - line + 1);
+ word_end = (int)(spell_to_word_end(ptr, wp) - line + 1);
}
else
{