X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=activex%2Futils.cpp;h=b96ea8fc4b49f06d91d1f97bcdaa2f3fc16e50ca;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=8cb0b0e08a6ba212e800e2947419d5caefb4afa1;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/activex/utils.cpp b/activex/utils.cpp index 8cb0b0e08a..b96ea8fc4b 100644 --- a/activex/utils.cpp +++ b/activex/utils.cpp @@ -273,7 +273,7 @@ relativeurl: return href; } - /* find last path component and replace it */ + /* find last path component and replace it */ while( L'/' != *pathend ) --pathend; @@ -300,7 +300,7 @@ relativeurl: url = ++p; continue; } - if( L'.' != *p ) + if( L'.' != *p ) break; ++p; if( L'\0' == *p ) @@ -309,7 +309,7 @@ relativeurl: } else { - if( L'/' != *p ) + if( L'/' != *p ) break; /* relative url starts with '../' */ ++p;