From 3542f0556c2d9c9d92585ac64e3f12eb7ab81f18 Mon Sep 17 00:00:00 2001 From: anders_k Date: Thu, 17 Mar 2016 21:36:06 +0000 Subject: [PATCH] Must use a POSIX compatible string comparison git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6722 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/build.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/build.cpp b/Source/build.cpp index 00c022a0..ae125cde 100644 --- a/Source/build.cpp +++ b/Source/build.cpp @@ -2645,7 +2645,7 @@ int CEXEBuild::write_output(void) INFO_MSG(_T("\nOutput: \"%") NPRIs _T("\"\n"), full_path.c_str()); const TCHAR *fname = fnamebuf.c_str(); // Warn when special compatibility names are used. See also: http://github.com/wixtoolset/wix4/commit/3f4341b8ac4d13dffb1d6ba773d48ccc0ab07cf8 - if (!lstrcmpi(fname, _T("setup.exe"))) + if (!_tcsicmp(fname, _T("setup.exe"))) { const bool orgdispwarn = display_warnings; display_warnings = false; // Don't display warning inline in the middle of our statistics output.