summaryrefslogtreecommitdiffstats
path: root/apps/playback.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-06-10 21:47:48 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-06-10 21:47:48 +0000
commitcd1d87c8cf1b16e47e5c862c90a5f700087c2a5b (patch)
treee4e85ee71daeb7c685336fddf76610cdb229909e /apps/playback.c
parentd480fdc721893fcaa0f778592243dda12a72df1b (diff)
downloadrockbox-cd1d87c8cf1b16e47e5c862c90a5f700087c2a5b.tar.gz
rockbox-cd1d87c8cf1b16e47e5c862c90a5f700087c2a5b.zip
Small typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6663 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 5c1cb53e36..2276a4588b 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1254,7 +1254,7 @@ void audio_stop(void)
playing = false;
paused = false;
ci.stop_codec = true;
- if (current_fd > 0) {
+ if (current_fd >= 0) {
close(current_fd);
current_fd = -1;
}