summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorTobias Krause <tkr@openoffice.org>2009-11-11 06:38:38 +0000
committerTobias Krause <tkr@openoffice.org>2009-11-11 06:38:38 +0000
commit8887d95961bae10146f75ae5aceb5153ddba7452 (patch)
tree7c4b3804d6c6ed71e2b2271eb81579f3e975a2db /setup_native
parent7941b351721d078f623a83fb8bb5a05a886195f2 (diff)
#105892# define KEY_WOW64_64KEY for mingw
Diffstat (limited to 'setup_native')
-rwxr-xr-xsetup_native/source/win32/customactions/reg64/reg64.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/setup_native/source/win32/customactions/reg64/reg64.cxx b/setup_native/source/win32/customactions/reg64/reg64.cxx
index 83150aa1c07c..ebb2890e7e49 100755
--- a/setup_native/source/win32/customactions/reg64/reg64.cxx
+++ b/setup_native/source/win32/customactions/reg64/reg64.cxx
@@ -345,10 +345,8 @@ bool DoRegEntries( MSIHANDLE& rhMSI, OPERATION op, MSIHANDLE& rhView)
// basis location
wcsncat(newValue, sBasisInstallLocation, nPropSize * sizeof( wchar_t ));
- //wcsncpy(postfix, nPos, _TRUNCATE);
-
// postfix
- wcsncat(newValue, nPos + ( wcslen( BASISINSTALLLOCATION ) ), _TRUNCATE);
+ wcsncat(newValue, nPos + ( wcslen( BASISINSTALLLOCATION ) ), nPropSize * sizeof( wchar_t ));
wcsncpy(szValue, newValue, nNewValueBytes <=1024? nNewValueBytes: 1024);