msi: Fix a typo.

This commit is contained in:
James Hawkins 2008-05-03 21:12:41 -05:00 committed by Alexandre Julliard
parent e3b662bb20
commit 02b531b302

View file

@ -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);