X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=activex%2Fplugin.cpp;h=de3228db39af7213aaff7c7486d06640c621bfd3;hb=1ceb883e26eabce46d7ce7dc361ab5745cdae77f;hp=be922bfa8b604c61a67d221bb271d8f41bf55f8e;hpb=62ee2f9ddd492139eb60c034929198dc5123a7cd;p=vlc diff --git a/activex/plugin.cpp b/activex/plugin.cpp index be922bfa8b..de3228db39 100644 --- a/activex/plugin.cpp +++ b/activex/plugin.cpp @@ -559,12 +559,12 @@ HRESULT VLCPlugin::onLoad(void) LPOLESTR base_url; if( SUCCEEDED(pContMoniker->GetDisplayName(pBC, NULL, &base_url)) ) { - /* - ** check that the moinker is in a URL - */ + /* + ** check that the moniker name is a URL + */ if( UrlIsW(base_url, URLIS_URL) ) { - DWORD len = INTERNET_MAX_URL_LENGTH; + DWORD len = INTERNET_MAX_URL_LENGTH; LPOLESTR abs_url = (LPOLESTR)CoTaskMemAlloc(sizeof(OLECHAR)*len); if( NULL != abs_url ) { @@ -665,9 +665,9 @@ HRESULT VLCPlugin::onAmbientChanged(LPUNKNOWN pContainer, DISPID dispID) case DISPID_AMBIENT_TOPTOBOTTOM: break; case DISPID_UNKNOWN: - /* - ** multiple property change, look up the ones we are interested in - */ + /* + ** multiple property change, look up the ones we are interested in + */ VariantInit(&v); V_VT(&v) = VT_BOOL; if( SUCCEEDED(GetObjectProperty(pContainer, DISPID_AMBIENT_USERMODE, v)) )