From 6df5f616bb65cc08c5baecf8a6f9eeff7932c24e Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Wed, 14 Sep 2016 16:44:00 +0200 Subject: [PATCH] Change LogFactory and ScriptEngine to use html instead of HTML for even more consistency --- src/engine/logfactory.cpp | 2 +- src/scripting/scriptengine.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/logfactory.cpp b/src/engine/logfactory.cpp index 2b5f2cd226..21a83f7c87 100644 --- a/src/engine/logfactory.cpp +++ b/src/engine/logfactory.cpp @@ -39,7 +39,7 @@ namespace { const std::string keyCategoryStamping = "CategoryStamping"; const std::string keyLogLevelStamping = "LogLevelStamping"; - const std::string valueHtmlLog = "HTML"; + const std::string valueHtmlLog = "html"; const std::string valueTextLog = "Text"; } diff --git a/src/scripting/scriptengine.cpp b/src/scripting/scriptengine.cpp index add0ba766d..cd5b416082 100644 --- a/src/scripting/scriptengine.cpp +++ b/src/scripting/scriptengine.cpp @@ -561,7 +561,7 @@ void ScriptEngine::writeDocumentation(const std::string& filename, const std::st } } } - else if (type == "HTML") { + else if (type == "html") { std::ofstream file; file.exceptions(~std::ofstream::goodbit); file.open(filename);