diff options
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/mainwindows.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c index 6cb567cc..5f58c25f 100644 --- a/src/fe-text/mainwindows.c +++ b/src/fe-text/mainwindows.c @@ -355,6 +355,9 @@ static void mainwindows_resize_smaller(int xdiff, int ydiff) int space; sorted = mainwindows_get_sorted(TRUE); + if (sorted == NULL) + return; + for (;;) { space = 0; for (tmp = mainwindows; tmp != NULL; tmp = tmp->next) { |