GUACAMOLE-1632: Merge don't fill empty lines with spaces.

This commit is contained in:
Virtually Nick 2024-06-21 11:21:57 -04:00 committed by GitHub
commit c715f16b0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -298,7 +298,7 @@ static void guac_terminal_clipboard_append_row(guac_terminal* terminal,
end = buffer_row->length - 1;
/* Get position of last not null char */
for (eol = buffer_row->length; eol > start; eol--) {
for (eol = buffer_row->length - 1; eol > start; eol--) {
if (buffer_row->characters[eol].value != 0)
break;