From f093f633b44270c6b52834d310407f9faeb18b76 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Fri, 3 Jul 2015 20:43:41 -1000 Subject: [PATCH] removed unneeded newlines --- LogVisor | 2 +- lib/DiscIOISO.cpp | 8 ++++---- lib/DiscIOWBFS.cpp | 8 ++++---- lib/NOD.cpp | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/LogVisor b/LogVisor index 33f2f7b..47a7a95 160000 --- a/LogVisor +++ b/LogVisor @@ -1 +1 @@ -Subproject commit 33f2f7b279991a7be81310024636f43ecbf5ed24 +Subproject commit 47a7a95098fe13543450c132cae91a195c06840c diff --git a/lib/DiscIOISO.cpp b/lib/DiscIOISO.cpp index 2a8dac4..64c12e8 100644 --- a/lib/DiscIOISO.cpp +++ b/lib/DiscIOISO.cpp @@ -36,9 +36,9 @@ public: if (!fp) { #if NOD_UCS2 - LogModule.report(LogVisor::Error, L"Unable to open '%s' for reading\n", filepath.c_str()); + LogModule.report(LogVisor::Error, L"Unable to open '%s' for reading", filepath.c_str()); #else - LogModule.report(LogVisor::Error, "Unable to open '%s' for reading\n", filepath.c_str()); + LogModule.report(LogVisor::Error, "Unable to open '%s' for reading", filepath.c_str()); #endif return std::unique_ptr(); } @@ -67,9 +67,9 @@ public: if (!fp) { #if NOD_UCS2 - LogModule.report(LogVisor::Error, L"Unable to open '%s' for writing\n", filepath.c_str()); + LogModule.report(LogVisor::Error, L"Unable to open '%s' for writing", filepath.c_str()); #else - LogModule.report(LogVisor::Error, "Unable to open '%s' for writing\n", filepath.c_str()); + LogModule.report(LogVisor::Error, "Unable to open '%s' for writing", filepath.c_str()); #endif return std::unique_ptr(); } diff --git a/lib/DiscIOWBFS.cpp b/lib/DiscIOWBFS.cpp index 3e63ec9..8fa3b20 100644 --- a/lib/DiscIOWBFS.cpp +++ b/lib/DiscIOWBFS.cpp @@ -36,9 +36,9 @@ public: if (!fp) { #if NOD_UCS2 - LogModule.report(LogVisor::Error, L"Unable to open '%s' for reading\n", filepath.c_str()); + LogModule.report(LogVisor::Error, L"Unable to open '%s' for reading", filepath.c_str()); #else - LogModule.report(LogVisor::Error, "Unable to open '%s' for reading\n", filepath.c_str()); + LogModule.report(LogVisor::Error, "Unable to open '%s' for reading", filepath.c_str()); #endif return std::unique_ptr(); } @@ -67,9 +67,9 @@ public: if (!fp) { #if NOD_UCS2 - LogModule.report(LogVisor::Error, L"Unable to open '%s' for writing\n", filepath.c_str()); + LogModule.report(LogVisor::Error, L"Unable to open '%s' for writing", filepath.c_str()); #else - LogModule.report(LogVisor::Error, "Unable to open '%s' for writing\n", filepath.c_str()); + LogModule.report(LogVisor::Error, "Unable to open '%s' for writing", filepath.c_str()); #endif return std::unique_ptr(); } diff --git a/lib/NOD.cpp b/lib/NOD.cpp index 3ab40c5..872f226 100644 --- a/lib/NOD.cpp +++ b/lib/NOD.cpp @@ -21,9 +21,9 @@ std::unique_ptr OpenDiscFromImage(const SystemChar* path, bool& isWii) if (!fp) { #if NOD_UCS2 - LogModule.report(LogVisor::Error, L"Unable to open '%s'\n", path); + LogModule.report(LogVisor::Error, L"Unable to open '%s'", path); #else - LogModule.report(LogVisor::Error, "Unable to open '%s'\n", path); + LogModule.report(LogVisor::Error, "Unable to open '%s'", path); #endif return std::unique_ptr(); } @@ -66,9 +66,9 @@ std::unique_ptr OpenDiscFromImage(const SystemChar* path, bool& isWii) if (!discIO) { #if NOD_UCS2 - LogModule.report(LogVisor::Error, L"'%s' is not a valid image\n", path); + LogModule.report(LogVisor::Error, L"'%s' is not a valid image", path); #else - LogModule.report(LogVisor::Error, "'%s' is not a valid image\n", path); + LogModule.report(LogVisor::Error, "'%s' is not a valid image", path); #endif return std::unique_ptr(); }