diff --git a/src/main.c b/src/main.c index 975f77b..3c634ec 100644 --- a/src/main.c +++ b/src/main.c @@ -557,9 +557,13 @@ on_zbar_code_tapped(GtkWidget *widget, const MPZBarCode *code) flags, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, - "Found '%s' encoded in a %s.", - code->data, + "Found data encoded in a %s.", code->type); + gtk_message_dialog_format_secondary_markup ( + GTK_DIALOG(dialog), + "%s", + code->data + ); } gtk_dialog_add_buttons( GTK_DIALOG(dialog),