mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
whoops, that's not a format string
This commit is contained in:
parent
467a1fae80
commit
5a1a3afc81
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user