added $EXEFILE

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5120 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-04-24 19:09:51 +00:00
parent b5df399991
commit f4c9414545
6 changed files with 16 additions and 9 deletions

View file

@ -138,9 +138,8 @@ const char * NSISCALL loadHeaders(int cl_flags)
return _LANG_CANTOPENSELF;
}
// make state_exe_directory point to dir.
mystrcpy(state_exe_directory, state_exe_path);
trimslashtoend(state_exe_directory);
mystrcpy(state_exe_file, trimslashtoend(state_exe_directory));
left = m_length = GetFileSize(db_hFile,NULL);
while (left > 0)