James Hawkins : msi: Fix a typo.

Alexandre Julliard julliard at winehq.org
Mon May 5 07:14:45 CDT 2008


Module: wine
Branch: master
Commit: 02b531b302dffdb559657484f40246ee767adb77
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=02b531b302dffdb559657484f40246ee767adb77

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Sat May  3 21:12:41 2008 -0500

msi: Fix a typo.

---

 dlls/msi/helpers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/helpers.c b/dlls/msi/helpers.c
index 0dc02b4..223cacd 100644
--- a/dlls/msi/helpers.c
+++ b/dlls/msi/helpers.c
@@ -1098,7 +1098,7 @@ static INT_PTR cabinet_notify(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin)
         if (lstrcmpW(f->File, data->file->File))
             return 0;
 
-        size = lstrlenW(data->destination) + lstrlenW(file) + 2;
+        size = lstrlenW(data->destination) + lstrlenW(data->file->FileName) + 2;
         path = msi_alloc(size * sizeof(WCHAR));
         lstrcpyW(path, data->destination);
         PathAddBackslashW(path);




More information about the wine-cvs mailing list