itss: Ignore trailing slash in IStorage::OpenStream.
This commit is contained in:
parent
7ae93d05a9
commit
ff0a61365c
|
@ -351,6 +351,9 @@ static HRESULT WINAPI ITSS_IStorageImpl_OpenStream(
|
||||||
*p = '/';
|
*p = '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(*--p == '/')
|
||||||
|
*p = 0;
|
||||||
|
|
||||||
TRACE("Resolving %s\n", debugstr_w(path));
|
TRACE("Resolving %s\n", debugstr_w(path));
|
||||||
|
|
||||||
r = chm_resolve_object(This->chmfile, path, &ui);
|
r = chm_resolve_object(This->chmfile, path, &ui);
|
||||||
|
|
Loading…
Reference in New Issue