comparison src/screen.c @ 3572:0a364618c0e5 v7.3.546

updated for version 7.3.546 Problem: Bogus line break. Solution: Remove the line break.
author Bram Moolenaar <bram@vim.org>
date Wed, 06 Jun 2012 19:05:50 +0200
parents f52d2ea0f81c
children 583e46e4a56c
comparison
equal deleted inserted replaced
3571:060f9b63bf92 3572:0a364618c0e5
3226 if (len == 0 || (int)wp->w_cursor.col > ptr - line) 3226 if (len == 0 || (int)wp->w_cursor.col > ptr - line)
3227 { 3227 {
3228 /* no bad word found at line start, don't check until end of a 3228 /* no bad word found at line start, don't check until end of a
3229 * word */ 3229 * word */
3230 spell_hlf = HLF_COUNT; 3230 spell_hlf = HLF_COUNT;
3231 word_end = (int)(spell_to_word_end(ptr, wp) 3231 word_end = (int)(spell_to_word_end(ptr, wp) - line + 1);
3232 - line + 1);
3233 } 3232 }
3234 else 3233 else
3235 { 3234 {
3236 /* bad word found, use attributes until end of word */ 3235 /* bad word found, use attributes until end of word */
3237 word_end = wp->w_cursor.col + len + 1; 3236 word_end = wp->w_cursor.col + len + 1;