From da83af04e245d4e2cb52f5557d299c43a5692491 Mon Sep 17 00:00:00 2001 From: chme Date: Sat, 6 Aug 2016 06:36:42 +0200 Subject: [PATCH] [player] Fix return value in repeat_set if repeat mode did not change --- src/player.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/player.c b/src/player.c index 63fcd757..50ae9041 100644 --- a/src/player.c +++ b/src/player.c @@ -3020,7 +3020,10 @@ repeat_set(void *arg, int *retval) union player_arg *cmdarg = arg; if (cmdarg->mode == repeat) - return 0; + { + *retval = 0; + return COMMAND_END; + } switch (cmdarg->mode) {