diff options
author | Havoc Pennington <hp@pobox.com> | 2002-07-14 19:52:17 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-07-14 19:52:17 +0000 |
commit | e4cfa8d65673f808fcef56150a05e04f1cfd2fdf (patch) | |
tree | 544a6a7a44d45f0526e8ed08ce8ae43d9c42d857 | |
parent | 8320edb7631fd570b69503def7ab2ce58b19df6c (diff) |
decrement spaces as we go through the loop, it was nice and infinite.
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.
-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); |