Commit b4c2bbe2 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

fix the inverted logic of [a4c0b9de]

parent a4c0b9de
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment