patch-src_playlist_c 454 B

12345678910111213
  1. $OpenBSD: patch-src_playlist_c,v 1.1 2008/07/18 14:29:42 naddy Exp $
  2. --- src/playlist.c.orig Sat Apr 19 15:31:30 2008
  3. +++ src/playlist.c Fri Jul 4 10:18:03 2008
  4. @@ -352,7 +352,7 @@ int pl_eval_node(MP3FILE *pmp3, PL_NODE *pnode) {
  5. retval = not ? r_arg : !r_arg;
  6. break;
  7. case INCLUDES:
  8. - r_arg=(int)strcasestr(cval,pnode->arg2.cval);
  9. + r_arg=!!strcasestr(cval,pnode->arg2.cval);
  10. retval = not ? !r_arg : r_arg;
  11. break;
  12. }