repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 62a687c6b8131c0877987717f84d9c31d851a457: path_to: revision_to:
commit 62a687c6b8131c0877987717f84d9c31d851a457 Author: Emanuele GiaquintaDate: Wed Jan 5 22:29:50 2011 +0000 Fix error in loop condition that prevented tabs[0] from being initialized. diff --git a/src/screen.C b/src/screen.C
--- a/src/screen.C
+++ b/src/screen.C
@@ -402,7 +402,7 @@ rxvt_term::scr_reset ()
free (tabs);
tabs = (char *)rxvt_malloc (ncol);
- for (int col = ncol; --col; )
+ for (int col = ncol; col--; )
tabs [col] = col % TABSIZE == 0;
CLEAR_ALL_SELECTION ();
-----END OF PAGE-----