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

Treat the "Conditional line-break" Ctrl-A code as the end of a word.

parent a420c39d
No related branches found
No related tags found
No related merge requests found
...@@ -247,6 +247,8 @@ static struct section_len get_word_len(char *buf, int maxlen) ...@@ -247,6 +247,8 @@ static struct section_len get_word_len(char *buf, int maxlen)
continue; continue;
else if (buf[ret.bytes]=='\x01') { else if (buf[ret.bytes]=='\x01') {
ret.bytes++; ret.bytes++;
if (buf[ret.bytes] == '\\')
break;
if(buf[ret.bytes]!='\x01') if(buf[ret.bytes]!='\x01')
continue; continue;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment