1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

Bracketed paste: fix nitpick from ahf's review

Thanks ahf
This commit is contained in:
dequis 2015-12-13 13:56:09 -03:00
parent e6fa311590
commit ce77842a98

View File

@ -339,7 +339,7 @@ static void paste_flush(int send)
g_array_set_size(paste_buffer, 0);
/* re-add anything that may have been after the bracketed paste end */
if (paste_buffer_rest->len) {
if (paste_buffer_rest->len > 0) {
g_array_append_vals(paste_buffer, paste_buffer_rest->data, paste_buffer_rest->len);
g_array_set_size(paste_buffer_rest, 0);
}