[Wine-patches] hhctl.ocx: Send full filename to chm_openW (eterbug #2927)

Konstantin Kondratyuk =?iso-8859-1?q?kondratyuk_=CE=C1_etersoft=2Eru?=
Ср Апр 29 11:47:09 MSD 2009


-- 
Best regards,
Konstantin Kondratyuk.
----------- следующая часть -----------
From 3fea12d4fe3792afeaa3b9e605def50c97eb24d5 Mon Sep 17 00:00:00 2001
From: Konstantin Kondratyuk <kondratyuk на etersoft.ru>
Date: Wed, 29 Apr 2009 11:43:58 +0400
Subject: [PATCH] hhctl.ocx: Send full filename to chm_openW

---
 dlls/hhctrl.ocx/chm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/hhctrl.ocx/chm.c b/dlls/hhctrl.ocx/chm.c
index e8d036b..a56693b 100644
--- a/dlls/hhctrl.ocx/chm.c
+++ b/dlls/hhctrl.ocx/chm.c
@@ -379,7 +379,8 @@ CHMInfo *OpenCHM(LPCWSTR szFile)
         return CloseCHM(ret);
     }
 
-    hres = IITStorage_StgOpenStorage(ret->pITStorage, szFile, NULL,
+    TRACE("Opening %s\n", debugstr_w(file));
+    hres = IITStorage_StgOpenStorage(ret->pITStorage, file, NULL,
             STGM_READ | STGM_SHARE_DENY_WRITE, NULL, 0, &ret->pStorage);
     if(FAILED(hres)) {
         WARN("Could not open storage: %08x\n", hres);
-- 
1.6.1.3.GIT



Подробная информация о списке рассылки Wine-patches