Module: wine Branch: master Commit: ff0a61365c72f9b659e0865c4f2095e944e8aa4b URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff0a61365c72f9b659e0865c4f...
Author: Jacek Caban jacek@codeweavers.com Date: Tue Mar 13 18:41:22 2007 +0100
itss: Ignore trailing slash in IStorage::OpenStream.
---
dlls/itss/storage.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/itss/storage.c b/dlls/itss/storage.c index c3c144c..4163605 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);