[grisbi-cvs] grisbi/src utils_str.c,1.78,1.79

Gunee guneemwelloeux at users.sourceforge.net
Wed Jan 27 23:48:07 CET 2010


Update of /cvsroot/grisbi/grisbi/src
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv17200

Modified Files:
	utils_str.c 
Log Message:
Fixed odd g_strconcat use. Solves a problem on Win MSVC, and probably other OSes.

Index: utils_str.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/utils_str.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- utils_str.c	18 Jan 2010 19:13:40 -0000	1.78
+++ utils_str.c	27 Jan 2010 22:48:05 -0000	1.79
@@ -746,7 +746,7 @@
 
     long_old = g_utf8_strlen ( old_str, -1 );
     chaine = g_strndup ( str, (ptr_debut - str) );
-    chaine = g_strconcat ( chaine, new_str, ( ptr_debut + long_old + 1 ), NULL );
+    chaine = g_strconcat ( chaine, new_str, NULL );
     return g_strdup ( chaine );
 }
 



More information about the cvs mailing list