summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/barcode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/barcode.cpp')
-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());