Handle default case.

svn-id: r18086
This commit is contained in:
Travis Howell 2005-05-14 01:26:52 +00:00
parent ca65bf09fb
commit 86b7034066

View File

@ -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;
}