diff options
author | 2009-12-03 22:50:09 +0000 | |
---|---|---|
committer | 2009-12-03 22:50:09 +0000 | |
commit | 197ec97c8443d9515f7229a99d8cf5b485aa116b (patch) | |
tree | 82c19c9b632b9376bb8ab52e8dcaf1e4525abe49 /usr.bin/tmux/layout-set.c | |
parent | Stop the IdleHold timer when going to idle state. This makes it a bit (diff) | |
download | wireguard-openbsd-197ec97c8443d9515f7229a99d8cf5b485aa116b.tar.xz wireguard-openbsd-197ec97c8443d9515f7229a99d8cf5b485aa116b.zip |
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...
Diffstat (limited to 'usr.bin/tmux/layout-set.c')
-rw-r--r-- | usr.bin/tmux/layout-set.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.bin/tmux/layout-set.c b/usr.bin/tmux/layout-set.c index b259ababa05..f52a6728a6b 100644 --- a/usr.bin/tmux/layout-set.c +++ b/usr.bin/tmux/layout-set.c @@ -1,4 +1,4 @@ -/* $OpenBSD: layout-set.c,v 1.3 2009/07/28 06:48:44 nicm Exp $ */ +/* $OpenBSD: layout-set.c,v 1.4 2009/12/03 22:50:10 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -295,7 +295,7 @@ layout_set_main_h(struct window *w) continue; } - /* Add in the columns. */ + /* Add in the columns. */ layout_make_node(lcrow, LAYOUT_LEFTRIGHT); for (i = 0; i < columns; i++) { /* Create and add a pane cell. */ @@ -312,11 +312,11 @@ layout_set_main_h(struct window *w) /* Adjust the row to fit the full width if necessary. */ if (i == columns) i--; - used = ((i + 1) * width) - 1; - if (w->sx <= used) - continue; - lcchild = TAILQ_LAST(&lcrow->cells, layout_cells); - layout_resize_adjust(lcchild, LAYOUT_LEFTRIGHT, w->sx - used); + used = ((i + 1) * width) - 1; + if (w->sx <= used) + continue; + lcchild = TAILQ_LAST(&lcrow->cells, layout_cells); + layout_resize_adjust(lcchild, LAYOUT_LEFTRIGHT, w->sx - used); } /* Adjust the last row height to fit if necessary. */ @@ -422,10 +422,10 @@ layout_set_main_v(struct window *w) if (i == rows) i--; used = ((i + 1) * height) - 1; - if (w->sy <= used) - continue; - lcchild = TAILQ_LAST(&lccolumn->cells, layout_cells); - layout_resize_adjust(lcchild, LAYOUT_TOPBOTTOM, w->sy - used); + if (w->sy <= used) + continue; + lcchild = TAILQ_LAST(&lccolumn->cells, layout_cells); + layout_resize_adjust(lcchild, LAYOUT_TOPBOTTOM, w->sy - used); } /* Adjust the last column width to fit if necessary. */ |