summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index d067177..6e4907a 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -575,9 +575,10 @@ void BScreen::initWindows() {
575 for (unsigned int i = 0; i <= nchild; ++i) { 575 for (unsigned int i = 0; i <= nchild; ++i) {
576 if (i == nchild) { 576 if (i == nchild) {
577 if (num_transients) { 577 if (num_transients) {
578 if (num_transients == nchild)
579 safety_flag = true;
578 nchild = num_transients; 580 nchild = num_transients;
579 i = num_transients = 0; 581 i = num_transients = 0;
580 safety_flag = true;
581 } else 582 } else
582 break; 583 break;
583 } 584 }