mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-25 03:07:06 +00:00
Handle default case.
svn-id: r18086
This commit is contained in:
parent
ca65bf09fb
commit
86b7034066
@ -646,13 +646,13 @@ void ScummEngine_v72he::decodeScriptString(byte *dst, bool scriptString) {
|
||||
dst += sprintf((char *)dst, "%x", args[val++]);
|
||||
break;
|
||||
default:
|
||||
error("decodeScriptString: Unknown type %d", chr);
|
||||
*dst = '%';
|
||||
num--;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
continue;
|
||||
} else {
|
||||
*dst++ = chr;
|
||||
}
|
||||
*dst++ = chr;
|
||||
}
|
||||
*dst = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user