itss: Ignore trailing slash in IStorage::OpenStream.

This commit is contained in:
Jacek Caban 2007-03-13 18:41:22 +01:00 committed by Alexandre Julliard
parent 7ae93d05a9
commit ff0a61365c
1 changed files with 3 additions and 0 deletions

View File

@ -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);