Revision: 2771
          http://tmux.svn.sourceforge.net/tmux/?rev=2771&view=rev
Author:   tcunha
Date:     2012-04-10 09:55:27 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Sync OpenBSD patchset 1089:

Fix some indentation.

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

Modified: trunk/layout.c
===================================================================
--- trunk/layout.c      2012-04-10 09:54:59 UTC (rev 2770)
+++ trunk/layout.c      2012-04-10 09:55:27 UTC (rev 2771)
@@ -498,18 +498,18 @@
 
        pane_border = 0;
        if ((c->last_mouse.b & MOUSE_BUTTON) != MOUSE_UP &&
-               (c->last_mouse.b & MOUSE_RESIZE_PANE)) {
+           (c->last_mouse.b & MOUSE_RESIZE_PANE)) {
                TAILQ_FOREACH(wp, &w->panes, entry) {
                        if (wp->xoff + wp->sx == c->last_mouse.x &&
-                               wp->yoff <= 1 + c->last_mouse.y &&
-                               wp->yoff + wp->sy >= c->last_mouse.y) {
+                           wp->yoff <= 1 + c->last_mouse.y &&
+                           wp->yoff + wp->sy >= c->last_mouse.y) {
                                layout_resize_pane(wp, LAYOUT_LEFTRIGHT,
                                    mouse->x - c->last_mouse.x);
                                pane_border = 1;
                        }
                        if (wp->yoff + wp->sy == c->last_mouse.y &&
-                               wp->xoff <= 1 + c->last_mouse.x &&
-                               wp->xoff + wp->sx >= c->last_mouse.x) {
+                           wp->xoff <= 1 + c->last_mouse.x &&
+                           wp->xoff + wp->sx >= c->last_mouse.x) {
                                layout_resize_pane(wp, LAYOUT_TOPBOTTOM,
                                    mouse->y - c->last_mouse.y);
                                pane_border = 1;
@@ -518,14 +518,14 @@
                if (pane_border)
                        server_redraw_window(w);
        } else if (mouse->b != MOUSE_UP &&
-                          mouse->b == (mouse->b & MOUSE_BUTTON)) {
+           mouse->b == (mouse->b & MOUSE_BUTTON)) {
                TAILQ_FOREACH(wp, &w->panes, entry) {
                        if ((wp->xoff + wp->sx == mouse->x &&
-                                wp->yoff <= 1 + mouse->y &&
-                                wp->yoff + wp->sy >= mouse->y) ||
-                               (wp->yoff + wp->sy == mouse->y &&
-                                wp->xoff <= 1 + mouse->x &&
-                                wp->xoff + wp->sx >= mouse->x)) {
+                           wp->yoff <= 1 + mouse->y &&
+                           wp->yoff + wp->sy >= mouse->y) ||
+                           (wp->yoff + wp->sy == mouse->y &&
+                           wp->xoff <= 1 + mouse->x &&
+                           wp->xoff + wp->sx >= mouse->x)) {
                                pane_border = 1;
                        }
                }

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


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to