[vlc-devel] commit: fix the inverted logic of [a4c0b9def174659bf6b4d30dcb6f47f98080e117 ] (Derk-Jan Hartman )

git version control git at videolan.org
Wed Jun 24 15:50:23 CEST 2009


vlc | branch: 1.0-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Wed Jun 24 15:47:42 2009 +0200| [b4c2bbe2b1a9b6734b6996e810e153ea7678c979] | committer: Derk-Jan Hartman 

fix the inverted logic of [a4c0b9def174659bf6b4d30dcb6f47f98080e117]

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b4c2bbe2b1a9b6734b6996e810e153ea7678c979
---

 src/input/item.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/item.c b/src/input/item.c
index 8d47e33..c403d3a 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -363,7 +363,7 @@ void input_item_SetURI( input_item_t *p_i, const char *psz_uri )
     {
         const char *psz_filename;
 
-        if( !strstr( p_i->psz_uri, "://" ) )
+        if( strstr( p_i->psz_uri, "://" ) )
             psz_filename = strrchr( p_i->psz_uri, '/' );
         else
             psz_filename = strrchr( p_i->psz_uri, DIR_SEP_CHAR );




More information about the vlc-devel mailing list