From d4ed01562d08b53827af9357b831877214260473 Mon Sep 17 00:00:00 2001 From: Malkierian Date: Wed, 2 Apr 2025 09:39:48 -0700 Subject: [PATCH] run clang --- soh/soh/OTRGlobals.cpp | 2 +- soh/soh/SohGui/SohMenuDevTools.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp index 415f1560a..ff23fb1a2 100644 --- a/soh/soh/OTRGlobals.cpp +++ b/soh/soh/OTRGlobals.cpp @@ -329,7 +329,7 @@ OTRGlobals::OTRGlobals() { context->InitCrashHandler(); context->InitConsole(); - + Ship::Context::GetInstance()->GetLogger()->set_level( (spdlog::level::level_enum)CVarGetInteger(CVAR_DEVELOPER_TOOLS("LogLevel"), 1)); Ship::Context::GetInstance()->GetLogger()->set_pattern("[%H:%M:%S.%e] [%s:%#] [%l] %v"); diff --git a/soh/soh/SohGui/SohMenuDevTools.cpp b/soh/soh/SohGui/SohMenuDevTools.cpp index bc75bd4e7..5ba751921 100644 --- a/soh/soh/SohGui/SohMenuDevTools.cpp +++ b/soh/soh/SohGui/SohMenuDevTools.cpp @@ -90,9 +90,9 @@ void SohMenu::AddMenuDevTools() { AddWidget(path, "Log Level", WIDGET_CVAR_COMBOBOX) .CVar("gDeveloperTools.LogLevel") .Options(ComboboxOptions() - .Tooltip("The log level determines which messages are printed to the " - "console. This does not affect the log file output") - .ComboMap(logLevels)) + .Tooltip("The log level determines which messages are printed to the " + "console. This does not affect the log file output") + .ComboMap(logLevels)) .Callback([](WidgetInfo& info) { Ship::Context::GetInstance()->GetLogger()->set_level( (spdlog::level::level_enum)CVarGetInteger(CVAR_DEVELOPER_TOOLS("LogLevel"), 1));