summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c
index 7ab68cb..9b9116a 100644
--- a/src/command.c
+++ b/src/command.c
@@ -37,6 +37,7 @@ up(struct context *ctx, int key)
ifc->chooser_main_ctl > 0) {
--ifc->chooser_main_ctl;
+ /* Always a main_ctl since chooser_child = SELECTED_MAIN_CTL */
ctl = (struct main_ctl *) interface_get_current_ctl(ifc, NULL);
/* autoassigment to SELECTED_MAIN_CTL (=-1) if length = 0 */