From 7ea2c6b58e06e89e57ce7fa543547dd89f35607f Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 20 Feb 2016 22:38:02 +0100 Subject: fix compile (nw) --- src/emu/ui/barcode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3-70-g09d2