[Scummvm-git-logs] scummvm master -> e12c0f3f4ead22b123cf05084da3fe21dec7603b
digitall
547637+digitall at users.noreply.github.com
Fri Jun 11 05:22:49 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e12c0f3f4e STARTREK: Fix format-security warnings
Commit: e12c0f3f4ead22b123cf05084da3fe21dec7603b
https://github.com/scummvm/scummvm/commit/e12c0f3f4ead22b123cf05084da3fe21dec7603b
Author: Daniel Kamil Kozar (dkk089 at gmail.com)
Date: 2021-06-11T06:22:47+01:00
Commit Message:
STARTREK: Fix format-security warnings
Changed paths:
engines/startrek/console.cpp
diff --git a/engines/startrek/console.cpp b/engines/startrek/console.cpp
index 4070d4e894..faf6092f71 100644
--- a/engines/startrek/console.cpp
+++ b/engines/startrek/console.cpp
@@ -326,12 +326,12 @@ bool Console::Cmd_DumpText(int argc, const char **argv) {
line += "TX_" + (*i).key + ", ";
index++;
if (index % 5 == 0) {
- debug(line.c_str());
+ debug("%s", line.c_str());
line = "";
}
}
- debug(line.c_str());
+ debug("%s", line.c_str());
for (Common::List<MessageInfo>::const_iterator i = keys.begin(), end = keys.end(); i != end; ++i) {
debug("{ TX_%s, %d, 0 },", (*i).key.c_str(), (*i).pos);
More information about the Scummvm-git-logs
mailing list