Module: wine Branch: master Commit: 198344894230ae982911824af54db4023b64c84c URL: http://source.winehq.org/git/wine.git/?a=commit;h=198344894230ae982911824af5...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Tue Dec 17 22:17:37 2013 +0100
msi: Constify a character string.
---
dlls/msi/msi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index c1f4fcc..f8a1874 100644 --- a/dlls/msi/msi.c +++ b/dlls/msi/msi.c @@ -359,7 +359,7 @@ static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWS BOOL succeeded = FALSE;
static const WCHAR fmt[] = {'%','s',' ','P','A','T','C','H','=','"','%','s','"',0}; - static WCHAR empty[] = {0}; + static const WCHAR empty[] = {0};
if (!szPatchPackage || !szPatchPackage[0]) return ERROR_INVALID_PARAMETER;