git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6322 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d5962e9b67
commit
e173cd33a4
8 changed files with 40 additions and 12 deletions
|
@ -310,7 +310,7 @@ CEXEBuild::CEXEBuild() :
|
|||
InitLangTables();
|
||||
|
||||
// Register static user variables $0, $1 and so on
|
||||
// with ONE of reference count, to avoid warning on this vars
|
||||
// with ONE of reference count, to avoid warning on these vars
|
||||
TCHAR Aux[3];
|
||||
int i;
|
||||
for (i = 0; i < 10; i++) // 0 - 9
|
||||
|
|
|
@ -179,6 +179,8 @@ EXTERN_C void NSISWinMainNOCRT()
|
|||
mystrcat(state_temp_dir, _T("\\Temp"));
|
||||
if (!ValidateTempDir())
|
||||
{
|
||||
// Bug #2909242:
|
||||
// When running at <= Low IL we cannot write to %Temp% but we can try the temp folder used by IE.
|
||||
// There does not seem to be a API to get the low temp dir directly, so we build the path on our own
|
||||
|
||||
GetTempPath(NSIS_MAX_STRLEN - 4, state_temp_dir); // leave space for \Low
|
||||
|
|
|
@ -132,7 +132,7 @@ TCHAR* LineParser::gettoken_str(int token)
|
|||
return m_tokens[token];
|
||||
}
|
||||
|
||||
int LineParser::gettoken_enum(int token, const TCHAR *strlist) // null seperated list
|
||||
int LineParser::gettoken_enum(int token, const TCHAR *strlist) // null separated list
|
||||
{
|
||||
int x=0;
|
||||
TCHAR *tt=gettoken_str(token);
|
||||
|
|
|
@ -36,7 +36,7 @@ class LineParser {
|
|||
int gettoken_int(int token, int *success=0);
|
||||
double gettoken_number(int token, int *success=0);
|
||||
TCHAR *gettoken_str(int token);
|
||||
int gettoken_enum(int token, const TCHAR *strlist); // null seperated list
|
||||
int gettoken_enum(int token, const TCHAR *strlist); // null separated list
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue