diff options
-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; |