repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 7d2e8f3673574db5deb204b7a571c310b54db338:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 7d2e8f3673574db5deb204b7a571c310b54db338
Author: Emanuele Giaquinta 
Date:   Thu Feb 21 10:30:24 2008 +0000

    Replace references to nsaved with top_row.

diff --git a/Changes b/Changes
index 21e01cef63a17a29523ac1778c48be169eedf814..
index ..593aaa39187528c2c456c04a0b508d8e0d89746a 100644
--- a/Changes
+++ b/Changes
@@ -17,8 +17,9 @@ WISH: load system-wide config file even if we don't have one
 WISH: look into XAddConnectionWatch, does anybody need that?
 DUMB: support tex fonts

+TODO: fix perl doc for $term->ROW_t
 TODO: coloured pastebin
-TODO: mabbe unlink the RXVT_SOCKET on exit?
+TODO: maybe unlink the RXVT_SOCKET on exit?

 	- made tabs moveable (based on a patch by Petr Machata).
         - support relative paths for RXVT_SOCKET in urxvtd.
diff --git a/src/rxvt.h b/src/rxvt.h
index 00562e9fcbbe036d726ed88b2a8c5284f9bcd033..
index ..7a652b30246427e11c52d5dcd354fe86652f5324 100644
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -849,7 +849,7 @@ struct TermWin_t {
  *   beg:       row/column of beginning of selection  : never past mark
  *   mark:      row/column of initial click           : never past end
  *   end:       row/column of one character past end of selection
- * * Note: -nsaved <= beg.row <= mark.row <= end.row < nrow
+ * * Note: top_row <= beg.row <= mark.row <= end.row < nrow
  * * Note: col == -1 ==> we're left of screen
  *
  */
diff --git a/src/screen.C b/src/screen.C
index 4ce04781f7ff041966890209cf267d8b599bd81f..
index ..2d34281a5ad35625819d76a38ea8ce5c70cac8b1 100644
--- a/src/screen.C
+++ b/src/screen.C
@@ -2587,7 +2587,7 @@ rxvt_term::scr_dump (int fd) NOTHROW
   unsigned int    width, towrite;
   char            r1[] = "\n";

-  for (row = saveLines - nsaved;
+  for (row = saveLines + top_row;
        row < saveLines + nrow - 1; row++)
     {
       width = row_buf[row].l >= 0 ? row_buf[row].l

-----END OF PAGE-----