summaryrefslogtreecommitdiff
path: root/src/fe-text/mainwindows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/mainwindows.c')
-rw-r--r--src/fe-text/mainwindows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c
index 125fea97..fa1bb330 100644
--- a/src/fe-text/mainwindows.c
+++ b/src/fe-text/mainwindows.c
@@ -356,8 +356,8 @@ static void mainwindows_resize_smaller(int xdiff, int ydiff)
GSList *sorted, *tmp;
int space;
+ sorted = mainwindows_get_sorted(TRUE);
for (;;) {
- sorted = mainwindows_get_sorted(TRUE);
space = 0;
for (tmp = mainwindows; tmp != NULL; tmp = tmp->next) {
rec = tmp->data;