summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Dubé <serprex@users.noreply.github.com>2025-06-22 18:33:50 +0000
committerGitHub <noreply@github.com>2025-06-22 14:33:50 -0400
commit34eb6a7d1744a019794abc0e66d988bfe4762184 (patch)
tree3772ae7b67849cb2a9cf89819817508f2c2d7f8b
parent7be40fc073a16943e80ca22375b8a074ea45ae9a (diff)
fix printf warning, avoid issues with silly paths (#39)
-rw-r--r--OTRExporter/ExporterArchiveOTR.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/OTRExporter/ExporterArchiveOTR.cpp b/OTRExporter/ExporterArchiveOTR.cpp
index f38752b..79b87a6 100644
--- a/OTRExporter/ExporterArchiveOTR.cpp
+++ b/OTRExporter/ExporterArchiveOTR.cpp
@@ -25,9 +25,7 @@ bool ExporterArchiveOtr::Load(bool enableWriting) {
openArchiveSuccess = SFileOpenArchive(fullPath.c_str(), 0, enableWriting ? 0 : MPQ_OPEN_READ_ONLY, &mpqHandle);
}
if (openArchiveSuccess) {
- printf("Opened mpq file ");
- printf(fullPath.c_str());
- printf("\n");
+ printf("Opened mpq file %s\n", fullPath.c_str());
mMpq = mpqHandle;
mPath = fullPath;
baseLoaded = true;