mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Fix comment.
This commit is contained in:
parent
2f5c3d881d
commit
b6b00c53bd
@ -1,4 +1,4 @@
|
|||||||
/* $Id: cmd-resize-pane.c,v 1.3 2009-05-04 17:58:26 nicm Exp $ */
|
/* $Id: cmd-resize-pane.c,v 1.4 2009-05-18 20:18:08 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -98,9 +98,9 @@ cmd_resize_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
|
|
||||||
if (data->flags & CMD_UPPERDFLAG) {
|
if (data->flags & CMD_UPPERDFLAG) {
|
||||||
/*
|
/*
|
||||||
* If this is not the last window, keep trying to increase size
|
* If this is not the last pane, keep trying to increase size
|
||||||
* and remove it from the next windows. If it is the last, do
|
* and remove it from the next panes. If it is the last, do
|
||||||
* so on the previous window.
|
* so on the previous pane.
|
||||||
*/
|
*/
|
||||||
if (TAILQ_NEXT(wp, entry) == NULL) {
|
if (TAILQ_NEXT(wp, entry) == NULL) {
|
||||||
if (wp == TAILQ_FIRST(&wl->window->panes)) {
|
if (wp == TAILQ_FIRST(&wl->window->panes)) {
|
||||||
@ -123,9 +123,9 @@ cmd_resize_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
* If this is not the last window, keep trying to reduce size
|
* If this is not the last pane, keep trying to reduce size
|
||||||
* and add to the following window. If it is the last, do so on
|
* and add to the following pane. If it is the last, do so on
|
||||||
* the previous window.
|
* the previous pane.
|
||||||
*/
|
*/
|
||||||
wq = TAILQ_NEXT(wp, entry);
|
wq = TAILQ_NEXT(wp, entry);
|
||||||
if (wq == NULL) {
|
if (wq == NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user