From ce6a037abc91123b249efe710615883628adefe8 Mon Sep 17 00:00:00 2001 From: Daniel Jelinski Date: Fri, 3 May 2013 20:55:13 +0200 Subject: [PATCH] msi: Fix ComputerName property. --- dlls/msi/package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/package.c b/dlls/msi/package.c index f7cc90886dd..74f19ac08a8 100644 --- a/dlls/msi/package.c +++ b/dlls/msi/package.c @@ -1020,7 +1020,7 @@ static VOID set_installer_properties(MSIPACKAGE *package) if ((computername = msi_alloc( len * sizeof(WCHAR) ))) { if (GetComputerNameW( computername, &len )) - msi_set_property( package->db, szComputerName, computername, len - 1 ); + msi_set_property( package->db, szComputerName, computername, len ); msi_free( computername ); } }