[vlc-devel] commit: Fix warning ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Sep 3 19:41:41 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Sep 3 20:42:31 2008 +0300| [218c644cf426d8e4042d77a1828bbe94eb99085d] | committer: Rémi Denis-Courmont
Fix warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=218c644cf426d8e4042d77a1828bbe94eb99085d
---
src/libvlc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index d4be2b3..f7e0af8 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1468,7 +1468,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_search )
while( *pp_shortcut )
{
if( b_strict ? !strcmp( psz_search, *pp_shortcut )
- : strstr( *pp_shortcut, psz_search ) )
+ : !!strstr( *pp_shortcut, psz_search ) )
break;
pp_shortcut ++;
}
More information about the vlc-devel
mailing list