[anjuta] fix string formatting (from Mageia)



commit b67d38b002e6258ebed7ee6dadafba3aeb222b50
Author: Olav Vitters <olav vitters nl>
Date:   Mon Jan 16 22:19:26 2012 +0100

    fix string formatting (from Mageia)

 plugins/am-project/am-project.c |    1 +
 plugins/mk-project/mk-project.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/am-project/am-project.c b/plugins/am-project/am-project.c
index e948bb3..0791a8e 100644
--- a/plugins/am-project/am-project.c
+++ b/plugins/am-project/am-project.c
@@ -1679,6 +1679,7 @@ amp_project_load_root (AmpProject *project, GError **error)
 		{
 			g_set_error (error, IANJUTA_PROJECT_ERROR,
 						IANJUTA_PROJECT_ERROR_PROJECT_MALFORMED,
+						"%s",
 						_("Unable to parse project file"));
 		}
 
diff --git a/plugins/mk-project/mk-project.c b/plugins/mk-project/mk-project.c
index eab1c21..637735e 100644
--- a/plugins/mk-project/mk-project.c
+++ b/plugins/mk-project/mk-project.c
@@ -497,6 +497,7 @@ project_load_makefile (MkpProject *project, GFile *file, MkpGroup *parent, GErro
 		{
 			g_set_error (error, IANJUTA_PROJECT_ERROR,
 						IANJUTA_PROJECT_ERROR_PROJECT_MALFORMED,
+						"%s",
 						_("Unable to parse make file"));
 		}
 



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