More of revert.

This commit is contained in:
Nicholas Marriott
2018-09-26 16:49:03 +01:00
parent 04c6db2d0f
commit b74b047730
2 changed files with 5 additions and 7 deletions

View File

@ -96,7 +96,7 @@ default_window_size(struct session *s, struct window *w, u_int *sx, u_int *sy,
}
if (*sx == 0 || *sy == 0)
goto manual;
} else if (type == WINDOW_SIZE_SMALLEST) {
} else {
*sx = *sy = UINT_MAX;
TAILQ_FOREACH(c, &clients, entry) {
if (c->session == NULL)