summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-12-19 11:09:55 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-12-19 11:09:55 +0100
commitef40d1a710228fbef322414c1400dfa922d082f5 (patch)
tree1921b89287a2ae984d3d9dff3f79f956a5452825 /src
parent5760a65c1ae4f58fd3ce73049e95144d154ab816 (diff)
downloadpa-sink-ctl-ef40d1a710228fbef322414c1400dfa922d082f5.tar.gz
pa-sink-ctl-ef40d1a710228fbef322414c1400dfa922d082f5.tar.bz2
pa-sink-ctl-ef40d1a710228fbef322414c1400dfa922d082f5.zip
command: Add a command describing a cast in up-command
Diffstat (limited to 'src')
-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 */