diff options
author | D G Turner | 2019-07-24 19:43:26 +0100 |
---|---|---|
committer | D G Turner | 2019-07-24 19:43:26 +0100 |
commit | 0e258cafd4f7482fa45757d239a075cd636cbfb2 (patch) | |
tree | d7e667af0aa9f8333b4ccf35558a9f31c00a1924 | |
parent | 44e9cefedeed8649caadd81f3a0afdf72eae8e11 (diff) | |
download | scummvm-rg350-0e258cafd4f7482fa45757d239a075cd636cbfb2.tar.gz scummvm-rg350-0e258cafd4f7482fa45757d239a075cd636cbfb2.tar.bz2 scummvm-rg350-0e258cafd4f7482fa45757d239a075cd636cbfb2.zip |
SCI: Fix GCC Compilation Error from Missing Format String
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 7c7e5ae7e6..2dc9332f80 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -757,7 +757,7 @@ reg_t kKawaHacks(EngineState *s, int argc, reg_t *argv) { } reg_t kKawaDbugStr(EngineState *s, int argc, reg_t *argv) { - debug(Common::String::format(s->_segMan->getString(argv[0]).c_str(), argc - 1, argv + 1).c_str()); + debug("%s", Common::String::format(s->_segMan->getString(argv[0]).c_str(), argc - 1, argv + 1).c_str()); return NULL_REG; } |