summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-02-20 22:38:02 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-02-20 22:38:02 +0100
commit7ea2c6b58e06e89e57ce7fa543547dd89f35607f (patch)
tree9490b9daa5b05ee7099753e7fb60029ac7dd4ebc
parent0bc4173bd32b413b67e7661c6f1767c9afb371c1 (diff)
fix compile (nw)
-rw-r--r--src/emu/ui/barcode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ui/barcode.cpp b/src/emu/ui/barcode.cpp
index 5b3b15d7ad0..e9f779737a8 100644
--- a/src/emu/ui/barcode.cpp
+++ b/src/emu/ui/barcode.cpp
@@ -115,7 +115,7 @@ void ui_menu_barcode_reader::handle()
std::string tmp_file(m_barcode_buffer);
//printf("code %s\n", m_barcode_buffer);
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
{
current_device()->write_code(tmp_file.c_str(), tmp_file.length());