diff options
author | phintuka <phintuka> | 2008-02-19 04:51:18 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-02-19 04:51:18 +0000 |
commit | 6c5e6e2a05bbb0e2d4b11e69f7a1f2e62214a7f0 (patch) | |
tree | 9bfe48d68786f3d2a5059d330e0a623707b29733 | |
parent | 05315d384f91a484b6043cb9f58ffb92e9b23301 (diff) | |
download | xineliboutput-6c5e6e2a05bbb0e2d4b11e69f7a1f2e62214a7f0.tar.gz xineliboutput-6c5e6e2a05bbb0e2d4b11e69f7a1f2e62214a7f0.tar.bz2 |
Remove compiler warning (suggest parentheses around && within ||)
-rw-r--r-- | tools/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/playlist.c b/tools/playlist.c index 9500b286..bba19a82 100644 --- a/tools/playlist.c +++ b/tools/playlist.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: playlist.c,v 1.15 2008-02-19 04:24:34 phintuka Exp $ + * $Id: playlist.c,v 1.16 2008-02-19 04:51:18 phintuka Exp $ * */ @@ -943,7 +943,7 @@ cString cPlaylist::GetEntry(cPlaylistItem *i, bool isPlaylist, bool isCurrent) { cString Entry = ""; - if (*i->Artist && xc.playlist_artist || *i->Album && xc.playlist_album) { + if ((*i->Artist && xc.playlist_artist) || (*i->Album && xc.playlist_album)) { Entry = cString::sprintf("%s%s%s%s%s%s(%s%s%s)", isPlaylist ? (isCurrent ? "*" : " ") : "", isPlaylist ? "\t" : " ", |