Revision: 2634
          http://tmux.svn.sourceforge.net/tmux/?rev=2634&view=rev
Author:   tcunha
Date:     2011-11-10 21:41:37 +0000 (Thu, 10 Nov 2011)
Log Message:
-----------
Sync OpenBSD patchset 978:

Fix a trivial copy-and-paste error (sx->sy), from Chris Johnsen.

Modified Paths:
--------------
    trunk/layout-set.c

Modified: trunk/layout-set.c
===================================================================
--- trunk/layout-set.c  2011-11-10 21:41:01 UTC (rev 2633)
+++ trunk/layout-set.c  2011-11-10 21:41:37 UTC (rev 2634)
@@ -260,8 +260,8 @@
         * If an other pane height was specified, honour it so long as it
         * doesn't shrink the main height to less than the main-pane-height
         */
-       if (otherheight > 1 && w->sx - otherheight > mainheight)
-               mainheight = w->sx - otherheight;
+       if (otherheight > 1 && w->sy - otherheight > mainheight)
+               mainheight = w->sy - otherheight;
        if (mainheight < PANE_MINIMUM + 1)
                mainheight = PANE_MINIMUM + 1;
 

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


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to