summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c744441)
raw | patch | inline | side by side (parent: c744441)
author | Kalle Wallin <kaw@linux.se> | |
Tue, 23 Mar 2004 20:23:42 +0000 (20:23 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Tue, 23 Mar 2004 20:23:42 +0000 (20:23 +0000) |
main.c | patch | blob | history |
index 7bd80c5dd24d699aa027180cb67a06ee4babdaad..4e420b75d4cc4c1be2ada8f86193092be908461e 100644 (file)
--- a/main.c
+++ b/main.c
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 )