Daniel Jelinski : msi: Fix ComputerName property.
Module: wine Branch: master Commit: ce6a037abc91123b249efe710615883628adefe8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ce6a037abc91123b249efe7106... Author: Daniel Jelinski <djelinski1(a)gmail.com> Date: Fri May 3 20:55:13 2013 +0200 msi: Fix ComputerName property. --- dlls/msi/package.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/msi/package.c b/dlls/msi/package.c index f7cc908..74f19ac 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 ); } }
participants (1)
-
Alexandre Julliard