removed unneeded newlines

This commit is contained in:
Jack Andersen
2015-07-03 20:43:41 -10:00
parent a656c5d4c9
commit f093f633b4
4 changed files with 13 additions and 13 deletions

View File

@@ -36,9 +36,9 @@ public:
if (!fp) if (!fp)
{ {
#if NOD_UCS2 #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 #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 #endif
return std::unique_ptr<IReadStream>(); return std::unique_ptr<IReadStream>();
} }
@@ -67,9 +67,9 @@ public:
if (!fp) if (!fp)
{ {
#if NOD_UCS2 #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 #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 #endif
return std::unique_ptr<IWriteStream>(); return std::unique_ptr<IWriteStream>();
} }

View File

@@ -36,9 +36,9 @@ public:
if (!fp) if (!fp)
{ {
#if NOD_UCS2 #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 #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 #endif
return std::unique_ptr<IReadStream>(); return std::unique_ptr<IReadStream>();
} }
@@ -67,9 +67,9 @@ public:
if (!fp) if (!fp)
{ {
#if NOD_UCS2 #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 #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 #endif
return std::unique_ptr<IWriteStream>(); return std::unique_ptr<IWriteStream>();
} }

View File

@@ -21,9 +21,9 @@ std::unique_ptr<DiscBase> OpenDiscFromImage(const SystemChar* path, bool& isWii)
if (!fp) if (!fp)
{ {
#if NOD_UCS2 #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 #else
LogModule.report(LogVisor::Error, "Unable to open '%s'\n", path); LogModule.report(LogVisor::Error, "Unable to open '%s'", path);
#endif #endif
return std::unique_ptr<DiscBase>(); return std::unique_ptr<DiscBase>();
} }
@@ -66,9 +66,9 @@ std::unique_ptr<DiscBase> OpenDiscFromImage(const SystemChar* path, bool& isWii)
if (!discIO) if (!discIO)
{ {
#if NOD_UCS2 #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 #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 #endif
return std::unique_ptr<DiscBase>(); return std::unique_ptr<DiscBase>();
} }