diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/vte.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2002-07-14 Havoc Pennington <hp@pobox.com> + + * src/vte.c (vte_terminal_get_cursor_position): decrement spaces + as we go through the loop, it was nice and infinite. + 2002-07-13 nalin * src/vte.c (vte_terminal_get_text): Add the proper number of attribute structs to the attribute array to fix crashes which occurred when the @@ -7182,6 +7182,7 @@ vte_terminal_get_text(VteTerminal *terminal, /* Stuff any saved spaces in. */ while (spaces > 0) { string = g_string_append_c(string, ' '); + --spaces; } /* Stuff the charcter in this cell. */ string = g_string_append_unichar(string, pcell->c); |