From ff0a61365c72f9b659e0865c4f2095e944e8aa4b Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 13 Mar 2007 18:41:22 +0100 Subject: [PATCH] itss: Ignore trailing slash in IStorage::OpenStream. --- dlls/itss/storage.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/itss/storage.c b/dlls/itss/storage.c index c3c144c6009..4163605b559 100644 --- a/dlls/itss/storage.c +++ b/dlls/itss/storage.c @@ -351,6 +351,9 @@ static HRESULT WINAPI ITSS_IStorageImpl_OpenStream( *p = '/'; } + if(*--p == '/') + *p = 0; + TRACE("Resolving %s\n", debugstr_w(path)); r = chm_resolve_object(This->chmfile, path, &ui);