summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorTobias Krause <tkr@openoffice.org>2009-11-10 07:38:52 +0000
committerTobias Krause <tkr@openoffice.org>2009-11-10 07:38:52 +0000
commit9c9b45f2b0d469e796957db7a0b9ac09f319f560 (patch)
tree50253cd5bb614b6b77ad28a4d7078d114bf738d0 /setup_native
parent021e02cc8743c3b5af0754f8c43627e3d30cf8ed (diff)
#105892# define KEY_WOW64_64KEY for mingw
Diffstat (limited to 'setup_native')
-rwxr-xr-xsetup_native/source/win32/customactions/reg64/reg64.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/source/win32/customactions/reg64/reg64.cxx b/setup_native/source/win32/customactions/reg64/reg64.cxx
index 09ac5f6ce983..677de611d135 100755
--- a/setup_native/source/win32/customactions/reg64/reg64.cxx
+++ b/setup_native/source/win32/customactions/reg64/reg64.cxx
@@ -348,7 +348,7 @@ bool DoRegEntries( MSIHANDLE& rhMSI, OPERATION op, MSIHANDLE& rhView)
wcsncpy(newValue, szValue, nPrefixSize);
// basis location
- wcsncat(newValue, sBasisInstallLocation, _TRUNCATE);
+ wcsncat(newValue, sBasisInstallLocation, nPropSize * sizeof( wchar_t ));
//wcsncpy(postfix, nPos, _TRUNCATE);