diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-12 13:19:32 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-12 13:19:32 +0200 |
commit | 8820fb3c270c85192b8fe1df7a93e375502249aa (patch) | |
tree | e31d652c59f2543bb25df2ae91a478b2cc88a289 | |
parent | ce850e04912c609c7998ee4ae404d9bd90ac2d16 (diff) | |
download | pianobar-8820fb3c270c85192b8fe1df7a93e375502249aa.tar.gz pianobar-8820fb3c270c85192b8fe1df7a93e375502249aa.tar.bz2 pianobar-8820fb3c270c85192b8fe1df7a93e375502249aa.zip |
lib: Missed one strcmp while reverting
-rw-r--r-- | libpiano/xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiano/xml.c b/libpiano/xml.c index d80d46f..3862cb5 100644 --- a/libpiano/xml.c +++ b/libpiano/xml.c @@ -168,7 +168,7 @@ void PianoXmlParsePlaylistCb (char *key, xmlNode *value, void *data) { } else if (strcmp ("songTitle", key) == 0) { song->title = strdup (valueStr); } else if (strcmp ("rating", key) == 0) { - if (xmlStrEqual (valueStr, "1")) { + if (strcmp (valueStr, "1") == 0) { song->rating = PIANO_RATE_LOVE; } else { song->rating = PIANO_RATE_NONE; |