Skip to content

Commit

Permalink
GUACAMOLE-1632: Merge don't fill empty lines with spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
necouchman authored Jun 21, 2024
2 parents 91c8615 + b7e4b22 commit c715f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal/select.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c715f16

Please sign in to comment.