gnome-font-viewer/0001-font-view-Fix-format-security-compiler-warning.patch
2019-07-19 10:55:57 +03:00

25 lines
890 B
Diff

From db4a41412c554614a2e2b7e739704b4282aa3678 Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Fri, 19 Jul 2019 10:52:11 +0300
Subject: [PATCH] font-view: Fix format-security compiler warning
---
src/font-view.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/font-view.c b/src/font-view.c
index 506743a..a7568eb 100644
--- a/src/font-view.c
+++ b/src/font-view.c
@@ -854,6 +854,7 @@ font_view_show_error (FontViewApplication *self,
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
+ "%s",
primary_text);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
"%s", secondary_text);
--
2.21.0