anjuta r4219 - in trunk: . plugins/git



Author: sgranjoux
Date: Tue Sep  2 20:37:57 2008
New Revision: 4219
URL: http://svn.gnome.org/viewvc/anjuta?rev=4219&view=rev

Log:
	* plugins/git/git-command.c:
	Fix #550322 - Newlines should be placed at the end of error messages
	lines


Modified:
   trunk/ChangeLog
   trunk/plugins/git/git-command.c

Modified: trunk/plugins/git/git-command.c
==============================================================================
--- trunk/plugins/git/git-command.c	(original)
+++ trunk/plugins/git/git-command.c	Tue Sep  2 20:37:57 2008
@@ -239,6 +239,9 @@
 		error = g_match_info_fetch (match_info, 1);
 		g_match_info_free (match_info);
 		
+		if (strlen (self->priv->error_string->str) > 0)
+			g_string_append_c (self->priv->error_string, '\n');
+		
 		g_string_append (self->priv->error_string, error);
 		g_free (error);
 	}



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