[prev in list] [next in list] [prev in thread] [next in thread]
List: nsis-commits
Subject: [NSIS-commits] SF.net SVN: nsis:[6419] NSIS/trunk/Source/build.cpp
From: anders_k () users ! sourceforge ! net
Date: 2013-12-08 23:48:14
Message-ID: E1Vpo5B-0000TL-Us () sfs-ml-2 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 6419
http://sourceforge.net/p/nsis/code/6419
Author: anders_k
Date: 2013-12-08 23:48:13 +0000 (Sun, 08 Dec 2013)
Log Message:
-----------
PE NSIS_VARS_SECTION size should not depend on sizeof(TCHAR)
Modified Paths:
--------------
NSIS/trunk/Source/build.cpp
Modified: NSIS/trunk/Source/build.cpp
===================================================================
--- NSIS/trunk/Source/build.cpp 2013-12-08 16:24:06 UTC (rev 6418)
+++ NSIS/trunk/Source/build.cpp 2013-12-08 23:48:13 UTC (rev 6419)
@@ -2331,7 +2331,7 @@
VerifyDeclaredUserVarRefs(&m_UserVarNames);
int MaxUserVars = m_UserVarNames.getnum();
- int stringSize = NSIS_MAX_STRLEN*(build_unicode?sizeof(TCHAR):sizeof(char));
+ int stringSize = NSIS_MAX_STRLEN * (build_unicode?2:1);
if (!res_editor->SetPESectionVirtualSize(NSIS_VARS_SECTION, MaxUserVars * \
stringSize)) {
ERROR_MSG(_T("Internal compiler error #12346: invalid exehead cannot find \
section \"%") NPRIs _T("\"!\n"), _T(NSIS_VARS_SECTION));
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
NSIS-commits mailing list
NSIS-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nsis-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic