GLK: ALAN2: Further gcc warning fixes
This commit is contained in:
parent
d4075b188d
commit
62eb0be065
2 changed files with 4 additions and 2 deletions
|
@ -1386,7 +1386,7 @@ static void openFiles() {
|
|||
if (!f->open(txtfnm)) {
|
||||
delete f;
|
||||
Common::String s = Common::String::format("Can't open adventure text data file '%s'.", txtfnm);
|
||||
::error(s.c_str());
|
||||
::error("%s", s.c_str());
|
||||
}
|
||||
|
||||
// If logging open log file
|
||||
|
|
|
@ -55,7 +55,7 @@ void rules() {
|
|||
if (pop()) {
|
||||
change = TRUE;
|
||||
ruls[i - 1].run = TRUE;
|
||||
if (trcflg)
|
||||
if (trcflg) {
|
||||
if (!stpflg)
|
||||
printf(", Executing:>\n");
|
||||
else {
|
||||
|
@ -63,6 +63,8 @@ void rules() {
|
|||
debugsay(cur.loc);
|
||||
printf("), Executing:>\n");
|
||||
}
|
||||
}
|
||||
|
||||
interpret(ruls[i - 1].stms);
|
||||
} else if (trcflg && !stpflg)
|
||||
printf(":>\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue