Commit ff0a6136 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

itss: Ignore trailing slash in IStorage::OpenStream.

parent 7ae93d05
...@@ -351,6 +351,9 @@ static HRESULT WINAPI ITSS_IStorageImpl_OpenStream( ...@@ -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);
......
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