mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
fix compile (nw)
This commit is contained in:
parent
0bc4173bd3
commit
7ea2c6b58e
@ -115,7 +115,7 @@ void ui_menu_barcode_reader::handle()
|
|||||||
std::string tmp_file(m_barcode_buffer);
|
std::string tmp_file(m_barcode_buffer);
|
||||||
//printf("code %s\n", m_barcode_buffer);
|
//printf("code %s\n", m_barcode_buffer);
|
||||||
if (!current_device()->is_valid(tmp_file.length()))
|
if (!current_device()->is_valid(tmp_file.length()))
|
||||||
machine().ui().popup_time(5, _("Barcode length invalid!"));
|
machine().ui().popup_time(5, "%s", _("Barcode length invalid!"));
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
current_device()->write_code(tmp_file.c_str(), tmp_file.length());
|
current_device()->write_code(tmp_file.c_str(), tmp_file.length());
|
||||||
|
Loading…
Reference in New Issue
Block a user