From 810d31b57e705b90bd830e584e070ae1507a457d Mon Sep 17 00:00:00 2001 From: Malkierian Date: Tue, 28 Jan 2025 12:03:11 -0700 Subject: [PATCH] formatting --- src/resource/archive/O2rArchive.cpp | 2 +- src/resource/archive/OtrArchive.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/resource/archive/O2rArchive.cpp b/src/resource/archive/O2rArchive.cpp index 55987d38d..98a038d4c 100644 --- a/src/resource/archive/O2rArchive.cpp +++ b/src/resource/archive/O2rArchive.cpp @@ -38,7 +38,7 @@ std::shared_ptr O2rArchive::LoadFileRaw(const std::string& filePath) { // Filesize 0, no logging needed if (zipEntryStat.size == 0) { - SPDLOG_TRACE("({}) Failed to read file {} from mpq archive {}; filesize == 0", GetLastError(), filePath, GetPath()); + SPDLOG_TRACE("({}) Failed to load file {}; filesize 0", GetLastError(), filePath, GetPath()); return nullptr; } diff --git a/src/resource/archive/OtrArchive.cpp b/src/resource/archive/OtrArchive.cpp index 79f706df5..0ae907117 100644 --- a/src/resource/archive/OtrArchive.cpp +++ b/src/resource/archive/OtrArchive.cpp @@ -34,7 +34,7 @@ std::shared_ptr OtrArchive::LoadFileRaw(const std::string& filePath) { auto fileToLoad = std::make_shared(); DWORD fileSize = SFileGetFileSize(fileHandle, 0); if (fileSize == 0) { - SPDLOG_TRACE("({}) Failed to read file {} from mpq archive {}; filesize == 0", GetLastError(), filePath, GetPath()); + SPDLOG_TRACE("({}) Failed to load file {}; filesize 0", GetLastError(), filePath, GetPath()); return nullptr; } DWORD readBytes; @@ -46,7 +46,7 @@ std::shared_ptr OtrArchive::LoadFileRaw(const std::string& filePath) { bool closeFileSuccess = SFileCloseFile(fileHandle); if (!closeFileSuccess) { SPDLOG_ERROR("({}) Failed to close file {} from mpq after read failure in archive {}", GetLastError(), - filePath, GetPath()); + filePath, GetPath()); } return nullptr; }