From 248881e424f13201633941ba4ef0a0b77fda5a34 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Mon, 31 Jan 2022 16:38:19 +0200 Subject: [PATCH] oops, i accidentaly tab closing; fixed --- src/termswitch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/termswitch.c b/src/termswitch.c index 37c56a2..e0e68af 100644 --- a/src/termswitch.c +++ b/src/termswitch.c @@ -244,9 +244,11 @@ static void termfree (int idx) { switchToTerm(findTermToSwitch(), 0); if (curterm == t) { fprintf(stderr, "FATAL: cannot find good terminal to switch onto.\n"); + curterm = NULL; } + } else { + curterm = NULL; } - curterm = NULL; } // for (int y = 0; y < t->row; ++y) free(t->alt[y]); -- 2.11.4.GIT