1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Free utf8 substrings for delete word (ctrl-w)

This commit is contained in:
James Booth 2015-02-09 19:59:04 +00:00
parent 268c33e1c6
commit 23aaa51a2a

View File

@ -747,6 +747,9 @@ _delete_previous_word(void)
input_len_bytes = strlen(start_string)+i;
input[input_len_bytes] = '\0';
g_free(start_string);
g_free(end_string);
_clear_input();
waddstr(inp_win, input);
wmove(inp_win, 0, start_del);