Module: wine Branch: refs/heads/master Commit: 0fca0e00aaadbd9eb959d1b7b7f9e5df0de77108 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=0fca0e00aaadbd9eb959d1b7...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Sat Jul 29 14:49:13 2006 +0100
cabinet: Write-strings warning fix.
---
dlls/cabinet/cabinet_main.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/cabinet/cabinet_main.c b/dlls/cabinet/cabinet_main.c index fe2739d..fa8f1b4 100644 --- a/dlls/cabinet/cabinet_main.c +++ b/dlls/cabinet/cabinet_main.c @@ -303,6 +303,7 @@ HRESULT WINAPI Extract(EXTRACTdest *dest HRESULT res = S_OK; HFDI hfdi; ERF erf; + static CHAR empty[] = "";
TRACE("(%p, %s)\n", dest, szCabName);
@@ -322,7 +323,7 @@ HRESULT WINAPI Extract(EXTRACTdest *dest if (GetFileAttributesA(dest->directory) == INVALID_FILE_ATTRIBUTES) return S_OK;
- if (!FDICopy(hfdi, (LPSTR)szCabName, "", 0, + if (!FDICopy(hfdi, (LPSTR)szCabName, empty, 0, fdi_notify_extract, NULL, dest)) res = E_FAIL;