aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7bd80c5dd..4e420b75d 100644
--- a/main.c
+++ b/main.c
@@ -120,7 +120,10 @@ main(int argc, const char *argv[])
if( (cmd=get_keyboard_command()) != CMD_NONE )
{
screen_cmd(mpc, cmd);
- counter=0;
+ if( cmd==CMD_VOLUME_UP || cmd==CMD_VOLUME_DOWN)
+ counter=10;
+ else
+ counter=0;
}
}
else if( options->reconnect )