From ca1b03a22d56ecb17314bf5317174b64e071c0ec Mon Sep 17 00:00:00 2001 From: tpoole Date: Thu, 16 Mar 2017 10:54:14 +0000 Subject: [PATCH] Minor style fixes --- .../Source/Project Saving/jucer_ProjectExport_MSVC.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extras/Projucer/Source/Project Saving/jucer_ProjectExport_MSVC.h b/extras/Projucer/Source/Project Saving/jucer_ProjectExport_MSVC.h index b30d50c34c..abbd68b753 100644 --- a/extras/Projucer/Source/Project Saving/jucer_ProjectExport_MSVC.h +++ b/extras/Projucer/Source/Project Saving/jucer_ProjectExport_MSVC.h @@ -1204,8 +1204,8 @@ public: setConditionAttribute (*intdir, config); String intermediatesPath = getIntermediatesPath (config); - if (! intermediatesPath.endsWith ("\\")) - intermediatesPath << "\\"; + if (! intermediatesPath.endsWithChar (L'\\')) + intermediatesPath += L'\\'; intdir->addTextElement (FileHelpers::windowsStylePath (intermediatesPath)); } @@ -1301,7 +1301,7 @@ public: { XmlElement* res = group->createNewChildElement ("ResourceCompile"); res->createNewChildElement ("PreprocessorDefinitions")->addTextElement (isDebug ? "_DEBUG;%(PreprocessorDefinitions)" - : "NDEBUG;%(PreprocessorDefinitions)"); + : "NDEBUG;%(PreprocessorDefinitions)"); } { @@ -1309,7 +1309,7 @@ public: link->createNewChildElement ("OutputFile")->addTextElement (getOutputFilePath (config)); link->createNewChildElement ("SuppressStartupBanner")->addTextElement ("true"); link->createNewChildElement ("IgnoreSpecificDefaultLibraries")->addTextElement (isDebug ? "libcmt.lib; msvcrt.lib;;%(IgnoreSpecificDefaultLibraries)" - : "%(IgnoreSpecificDefaultLibraries)"); + : "%(IgnoreSpecificDefaultLibraries)"); link->createNewChildElement ("GenerateDebugInformation")->addTextElement ((isDebug || config.shouldGenerateDebugSymbols()) ? "true" : "false"); link->createNewChildElement ("ProgramDatabaseFile")->addTextElement (getOwner().getIntDirFile (config, config.getOutputFilename (".pdb", true))); link->createNewChildElement ("SubSystem")->addTextElement (type == ConsoleApp ? "Console" : "Windows");