whoops, that's not a format string

This commit is contained in:
Vas Crabb 2016-04-10 21:06:53 +10:00
parent 467a1fae80
commit 5a1a3afc81

View File

@ -1216,7 +1216,7 @@ void running_machine::popup_clear() const
void running_machine::popup_message(util::format_argument_pack<std::ostream> const &args) const
{
std::string const temp(string_format(args));
ui().popup_time(temp.length() / 40 + 2, temp);
ui().popup_time(temp.length() / 40 + 2, "%s", temp);
}