From fa0522503b8fc5851fc09b1035d3640df7d691d4 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 27 Mar 2013 12:43:21 -0700 Subject: [PATCH] Revert "Keep current character status updated." This reverts commit 449637998c1fa4dfcddc1ed0a88562bb0a81d14a. --- protocols/ssh/src/terminal.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/protocols/ssh/src/terminal.c b/protocols/ssh/src/terminal.c index 1135e4fb..ee94db30 100644 --- a/protocols/ssh/src/terminal.c +++ b/protocols/ssh/src/terminal.c @@ -579,8 +579,7 @@ void guac_terminal_display_set(guac_terminal_display* display, int r, int c, /* Store operation */ disp_char->next.type = GUAC_CHAR_SET; - disp_char->next.character = - disp_char->current = *character; + disp_char->next.character = *character; } @@ -619,9 +618,6 @@ void guac_terminal_display_copy(guac_terminal_display* display, current->next.column = src_column + column; } - /* Copy character data */ - current->current = src_current->current; - /* Next column */ current++; src_current++; @@ -654,8 +650,7 @@ void guac_terminal_display_set_rect(guac_terminal_display* display, /* Store operation */ current->next.type = GUAC_CHAR_SET; - current->next.character = - current->current = *character; + current->next.character = *character; /* Next column */ current++;