repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 62a687c6b8131c0877987717f84d9c31d851a457:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 62a687c6b8131c0877987717f84d9c31d851a457
Author: Emanuele Giaquinta 
Date:   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
index 92e53a6cd65f0d00aeeac2d237e1a7d32d65c26f..
index ..b85bec9ebcd9eee6978738eaa015af535700a5f0 100644
--- 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-----