gtranslator r3823 - in trunk: . src
- From: psanxiao svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3823 - in trunk: . src
- Date: Sat, 18 Oct 2008 14:04:01 +0000 (UTC)
Author: psanxiao
Date: Sat Oct 18 14:04:00 2008
New Revision: 3823
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3823&view=rev
Log:
* src/utils.c:
(gtranslator_utils_reduce_path):
Minor Fix: changed g_strconcat to g_build_filename.
Modified:
trunk/ChangeLog
trunk/src/utils.c
Modified: trunk/src/utils.c
==============================================================================
--- trunk/src/utils.c (original)
+++ trunk/src/utils.c Sat Oct 18 14:04:00 2008
@@ -937,12 +937,12 @@
array = g_strsplit (path, "/", -1);
- new_str = g_strconcat (array[1], "/../", array[g_strv_length (array)-1], NULL);
+ new_str = g_build_filename (array[1], "/../", array[g_strv_length (array)-1], NULL);
if (strlen (new_str) >= 30)
{
g_free (new_str);
- new_str = g_strconcat ("../", array[g_strv_length (array)-1], NULL);
+ new_str = g_build_filename ("../", array[g_strv_length (array)-1], NULL);
}
return new_str;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]