Revision: 2687
          http://tmux.svn.sourceforge.net/tmux/?rev=2687&view=rev
Author:   tcunha
Date:     2012-01-31 11:58:55 +0000 (Tue, 31 Jan 2012)
Log Message:
-----------
Sync OpenBSD patchset 1016:

Enforce history-limit option when clearing the screen, memory leak
spotted by R I Pienaar.

Modified Paths:
--------------
    trunk/grid-view.c

Modified: trunk/grid-view.c
===================================================================
--- trunk/grid-view.c   2012-01-29 12:57:01 UTC (rev 2686)
+++ trunk/grid-view.c   2012-01-31 11:58:55 UTC (rev 2687)
@@ -94,8 +94,10 @@
                return;
 
        /* Scroll the lines into the history. */
-       for (yy = 0; yy < last; yy++)
+       for (yy = 0; yy < last; yy++) {
+               grid_collect_history(gd);
                grid_scroll_history(gd);
+       }
 }
 
 /* Clear area. */

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to