diff --git a/engines/kyra/script.cpp b/engines/kyra/script.cpp index 0473f03591d..726c013b5ad 100644 --- a/engines/kyra/script.cpp +++ b/engines/kyra/script.cpp @@ -125,7 +125,7 @@ bool EMCInterpreter::load(const char *filename, EMCData *scriptData, const Commo error("No DATA chunk found in file: '%s'", filename); if (stream->err()) - error("Read error while parsing file '%s", filename); + error("Read error while parsing file '%s'", filename); delete stream; diff --git a/engines/kyra/script_tim.cpp b/engines/kyra/script_tim.cpp index 424a62aaf89..bc62e5bd6a4 100644 --- a/engines/kyra/script_tim.cpp +++ b/engines/kyra/script_tim.cpp @@ -169,7 +169,7 @@ TIM *TIMInterpreter::load(const char *filename, const Common::Arrayerr()) - error("Read error while parsing file '%s", filename); + error("Read error while parsing file '%s'", filename); delete stream;