summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-26 17:09:53 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-26 17:09:53 +0200
commit924fe0de44b4facfa34b75eb1501a08f15d282f3 (patch)
treebee9253aebe5128d4885154a0a3bf3acd42f498a /main.c
parent488cd6ebaabc3c38cd034cec52aea96c90cc557b (diff)
don't allow seeking in stopped state
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 29ede358..0058213a 100644
--- a/main.c
+++ b/main.c
@@ -95,6 +95,7 @@ update_songinfo (void) {
}
else if (p_isstopped ()) {
strcpy (sbtext_new, "Stopped");
+ songpos = 0;
}
else if (str_playing_song.decoder) {
codec_lock ();