no need for conversions here
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6729 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e7ac6581e4
commit
dc0c121b96
2 changed files with 2 additions and 2 deletions
|
@ -396,7 +396,7 @@ void CEXEBuild::initialize(const TCHAR *makensis_path)
|
|||
#ifndef NSIS_CONFIG_CONST_DATA_PATH
|
||||
nsis_dir = get_dir_name(get_executable_dir(makensis_path));
|
||||
#else
|
||||
nsis_dir = PosixBug_CtoTString(PREFIX_DATA);
|
||||
nsis_dir = _T(PREFIX_DATA);
|
||||
#endif
|
||||
}
|
||||
definedlist.add(_T("NSISDIR"), nsis_dir.c_str());
|
||||
|
|
|
@ -561,7 +561,7 @@ static inline int makensismain(int argc, TCHAR **argv)
|
|||
#ifndef NSIS_CONFIG_CONST_DATA_PATH
|
||||
main_conf = get_dir_name(get_executable_dir(argv[0]));
|
||||
#else
|
||||
main_conf = PosixBug_CtoTString(PREFIX_CONF);
|
||||
main_conf = _T(PREFIX_CONF);
|
||||
#endif
|
||||
else
|
||||
main_conf = env_var;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue