[latexila/gnome-3-16] Fix the build with -Werror=format-security



commit bd3b40cefb43f6d3fe655154eb6675ed06d2a1b1
Author: Kalev Lember <kalevlember gmail com>
Date:   Sat Apr 18 14:23:26 2015 +0200

    Fix the build with -Werror=format-security
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748102

 src/document_view.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/document_view.vala b/src/document_view.vala
index 33ad4ba..392cb2c 100644
--- a/src/document_view.vala
+++ b/src/document_view.vala
@@ -201,7 +201,7 @@ public class DocumentView : Gtk.SourceView
                     DialogFlags.DESTROY_WITH_PARENT,
                     MessageType.ERROR,
                     ButtonsType.NONE,
-                    _("No dictionaries available for the spell checking."));
+                    "%s", _("No dictionaries available for the spell checking."));
 
                 dialog.add_buttons (_("_Help"), ResponseType.HELP,
                     _("_OK"), ResponseType.OK,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]