Skip to content
Snippets Groups Projects
Commit 384ad892 authored by rswindell's avatar rswindell
Browse files

Fix bug introduced in r1.46: was counting (most) Ctrl-A codes as a single char

rather than no char, when calculating word lengths. We needed that 'continue'
here.
parent 089d3b1a
No related branches found
No related tags found
No related merge requests found
......@@ -252,6 +252,7 @@ static struct section_len get_word_len(char *buf, int maxlen, BOOL is_utf8)
ret.bytes++;
if (buf[ret.bytes] == '\\')
break;
continue;
}
else if (buf[ret.bytes]=='\b') {
// This doesn't handle BS the same way... bit it's kinda BS anyway.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment