sad

simple audio daemon
git clone git://git.2f30.org/sad.git
Log | Files | Refs | LICENSE

commit ba07059dd0e1192020e6ef8aaf24d648df5c9d88
parent f1ffe6975262c56b0061fd4d1b003d7b69036c92
Author: sin <sin@2f30.org>
Date:   Thu Dec 25 17:48:11 +0000

Style fix

Diffstat:
playlist.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/playlist.c b/playlist.c @@ -65,9 +65,8 @@ getnextsong(Song *cur) for (i = 0; i < playlist.nsongs; i++) { s = &playlist.songs[i]; - if (s->id == cur->id) { + if (s->id == cur->id) break; - } } if (i == playlist.nsongs) return NULL; @@ -86,9 +85,8 @@ getprevsong(Song *cur) for (i = 0; i < playlist.nsongs; i++) { s = &playlist.songs[i]; - if (s->id == cur->id) { + if (s->id == cur->id) break; - } } if (i == playlist.nsongs) return NULL;