From 370d8242e7bc17a9ac417fe0cbca43f8c30d13b7 Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Sat, 27 Apr 2019 14:41:48 +0200 Subject: [PATCH] GtkTextBufferSerialize: Add missing format string argument The format string has two string parameters however only one was supplied. --- gtk/gtktextbufferserialize.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtktextbufferserialize.c b/gtk/gtktextbufferserialize.c index b6cf9b34e8..79aa576958 100644 --- a/gtk/gtktextbufferserialize.c +++ b/gtk/gtktextbufferserialize.c @@ -841,7 +841,8 @@ check_id_or_name (GMarkupParseContext *context, { set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE, - _("<%s> element has invalid ID \"%s\""), attribute_values[i]); + _("<%s> element has invalid ID \"%s\""), + element_name, attribute_values[i]); return FALSE; } }