Skip to content

Commit

Permalink
GUACAMOLE-377: Merge terminal assertion column fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuehlner authored Sep 29, 2024
2 parents b754d3f + 8146e17 commit 3b021e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ void guac_terminal_buffer_set_cursor(guac_terminal_buffer* buffer, int row,
column = guac_terminal_fit_to_range(column, 0, GUAC_TERMINAL_MAX_COLUMNS - 1);

guac_terminal_buffer_row_expand(buffer_row, column + 1, &buffer->default_character);
GUAC_ASSERT(buffer_row->length > column + 1);
GUAC_ASSERT(buffer_row->length >= column + 1);

buffer_row->characters[column].attributes.cursor = is_cursor;

Expand Down

0 comments on commit 3b021e8

Please sign in to comment.