*** empty log message ***
authorroot <root>
Sat, 19 Feb 2005 19:37:34 +0000 (19:37 +0000)
committerroot <root>
Sat, 19 Feb 2005 19:37:34 +0000 (19:37 +0000)
Changes
src/screen.C

diff --git a/Changes b/Changes
index fa12bb40a7dd082f6a34a5dc233e88ee8830c342..a2e95e738ee5163eda9d37d25ec3d3cf81def231 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,3 @@
-TODO: !! If I resize the urxvt window to be 4 chars high (or less) it seems to 
-> crash when scrolling with the mouse wheel. Mikael Magnusson.
 TODO: do font request caching, might help rxvtd on some machines
 TODO: manpage 900mb update
 TODO: safer command: keymap processing.
@@ -19,6 +17,9 @@ WISH: just for fun, do shade and tint with XRender.
           that uses an existing pty for I/O instead of starting
           a command.
         - implement enough of XEMBED to allow for correct focus.
+        - fix assertioan failure ("crash") on mousewheel-scrolling
+          when the terminal height is small, by removing the assert.
+          (reported by Mikael Magnusson).
         - SYNCCVS. backported bugfixes done to rxvt
           (sourceforge bugs #1028739, #1028732), except for
           pts/%s fix as it seems to collide with freebsd,
index 13fc6913e7871256a35f2c0fa8b0b3a8667482df..2027e5f963e88d4ad08b462d53ced3cd90435a8e 100644 (file)
@@ -1894,10 +1894,8 @@ rxvt_term::scr_page (enum page_dirn direction, int nlines)
   int n;
   unsigned int oldviewstart;
 
-#ifdef DEBUG_STRICT
-  assert ((nlines >= 0) && (nlines <= TermWin.nrow));
-#endif
   oldviewstart = TermWin.view_start;
+
   if (direction == UP)
     {
       n = TermWin.view_start + nlines;
@@ -1908,6 +1906,7 @@ rxvt_term::scr_page (enum page_dirn direction, int nlines)
       n = TermWin.view_start - nlines;
       TermWin.view_start = max (n, 0);
     }
+
   return scr_changeview (oldviewstart);
 }