From dc0c121b96a6c386b7df2be36e7f7acd84b1f063 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 28 Mar 2016 05:52:12 +0000 Subject: [PATCH] no need for conversions here git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6729 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/build.cpp | 2 +- Source/makenssi.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/build.cpp b/Source/build.cpp index ae125cde..6ecf645e 100644 --- a/Source/build.cpp +++ b/Source/build.cpp @@ -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()); diff --git a/Source/makenssi.cpp b/Source/makenssi.cpp index 71472c10..0a172905 100644 --- a/Source/makenssi.cpp +++ b/Source/makenssi.cpp @@ -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;