MOHAWK: Silence GCC warning, properly format warning string

Thanks to SupSuper for helping with this!
This commit is contained in:
Lothar Serra Mari 2020-09-11 09:26:02 +02:00
parent 4a1d7a1753
commit 31af3cbd9d

View File

@ -169,7 +169,7 @@ Common::Error MohawkEngine_Riven::run() {
const char *msg = _s("You're missing 'extras.mhk'. Using the 'arcriven.z' installer file also works.");
Common::U32String message = _(msg);
GUIErrorMessage(message);
warning(msg);
warning("%s", msg);
return Common::kNoGameDataFoundError;
}