From 4b5022d646106c7cb7650f943070ba3f8d9282d2 Mon Sep 17 00:00:00 2001 From: pabs3 Date: Sun, 4 May 2008 08:30:07 +0000 Subject: [PATCH] fixed bug #1951417 - fix and re-enable the HeaderBitmap.nsi test on Linux git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5634 212acab6-be3b-0410-9dea-997c60f758d6 --- SConstruct | 3 +-- Source/script.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index 1f386efe..2bd87089 100644 --- a/SConstruct +++ b/SConstruct @@ -140,8 +140,7 @@ Examples/System/System.nsi Examples/nsDialogs/example.nsi Examples/nsDialogs/InstallOptions.nsi Examples/nsDialogs/welcome.nsi""") - + ['Examples/Modern UI/WelcomeFinish.nsi'] - + ['Examples/Modern UI/HeaderBitmap.nsi']) + + ['Examples/Modern UI/WelcomeFinish.nsi']) # version opts.Add(('VERSION', 'Version of NSIS', cvs_version)) diff --git a/Source/script.cpp b/Source/script.cpp index 787cc17d..4db99f51 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -2465,7 +2465,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line) } } else { char *szClass = winchar_toansi(dlgItem->szClass); - check = strcmp(szClass, "Static") == 0; + check = stricmp(szClass, "Static") == 0; delete [] szClass; }