minor move_forward cleanup (\0 terminator not used)

This commit is contained in:
Daniel Micay 2012-09-09 22:28:38 -04:00
parent 8f3c799b01
commit a6abd786cf
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ static void move_forward(VteTerminal *vte, select_info *select, F is_word) {
// prevent going past the end (get_text_range adds a \n)
if (codepoints[length - 1] == '\n') {
codepoints[--length] = 0;
length--;
}
bool end_of_word = false;