gnome-utils patch



Hi

Just found out a missing argument in a call to g_snprintf, in logview.
Attached patch fixes it.

Ok to commit?
-- 
Rodrigo Moya <rodrigo gnome-db org>
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-utils/logview/ChangeLog,v
retrieving revision 1.248
diff -u -p -r1.248 ChangeLog
--- ChangeLog	26 Sep 2005 15:08:42 -0000	1.248
+++ ChangeLog	4 Oct 2005 22:16:43 -0000
@@ -1,3 +1,7 @@
+2006-10-04  Rodrigo Moya <rodrigo novell com>
+
+	* logrtns.c (file_exist): added missing argument to g_snprintf.
+
 2005-09-26  noel  <vnoel cox net>
 
 	* logview.c (FileSelectResponse): Fixed a C99-ism. Patch from Jens
Index: logrtns.c
===================================================================
RCS file: /cvs/gnome/gnome-utils/logview/logrtns.c,v
retrieving revision 1.58
diff -u -p -r1.58 logrtns.c
--- logrtns.c	14 Jun 2005 22:11:16 -0000	1.58
+++ logrtns.c	4 Oct 2005 22:16:44 -0000
@@ -305,7 +305,7 @@ file_exist (char *filename, gboolean sho
 					 "change the permissions on the file.\n"), filename);
 			   break;
 		   case GNOME_VFS_ERROR_TOO_BIG:
-			   g_snprintf (buff, sizeof (buff), _("%s is too big."));
+			   g_snprintf (buff, sizeof (buff), _("%s is too big."), filename);
 			   break;
 		   default:
 			   g_snprintf (buff, sizeof (buff),


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