Replace references to nsaved with top_row.
authorayin <ayin>
Thu, 21 Feb 2008 10:30:23 +0000 (10:30 +0000)
committerayin <ayin>
Thu, 21 Feb 2008 10:30:23 +0000 (10:30 +0000)
Changes
src/rxvt.h
src/screen.C

diff --git a/Changes b/Changes
index 21e01cef63a17a29523ac1778c48be169eedf814..593aaa39187528c2c456c04a0b508d8e0d89746a 100644 (file)
--- 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.
index 00562e9fcbbe036d726ed88b2a8c5284f9bcd033..7a652b30246427e11c52d5dcd354fe86652f5324 100644 (file)
@@ -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
  *
  */
index 4ce04781f7ff041966890209cf267d8b599bd81f..2d34281a5ad35625819d76a38ea8ce5c70cac8b1 100644 (file)
@@ -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