changeset 713:e291995a7dc2

Use g_build_filename() instead of g_strconcat().
author zas_
date Wed, 21 May 2008 00:15:41 +0000
parents d4a68dfa6819
children 0f177c151368
files src/remote.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/remote.c	Wed May 21 00:13:12 2008 +0000
+++ b/src/remote.c	Wed May 21 00:15:41 2008 +0000
@@ -699,7 +699,7 @@
 	gint started = FALSE;
 	gchar *buf;
 
-	buf = g_strconcat(homedir(), "/", GQ_RC_DIR, "/.command", NULL);
+	buf = g_build_filename(homedir(), GQ_RC_DIR, ".command", NULL);
 	rc = remote_client_open(buf);
 	if (!rc)
 		{