summary refs log tree commit diff stats
path: root/src/common/hexchat.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-04 18:21:48 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-04 18:21:48 +0200
commitfb01d4e9ab9739e11499538d85e8932fb97a2c57 (patch)
tree46d0d3e258b2c7b929dce76ab43723e2b79b3c0a /src/common/hexchat.c
parentb2317d88007270f8b49d3282face90a7f2716e7d (diff)
Replace g_strdup_printf with g_build_filename where possible
Diffstat (limited to 'src/common/hexchat.c')
-rw-r--r--src/common/hexchat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/hexchat.c b/src/common/hexchat.c
index f5f4232e..cef391d2 100644
--- a/src/common/hexchat.c
+++ b/src/common/hexchat.c
@@ -438,7 +438,7 @@ irc_init (session *sess)
 	}
 
 	/* load -e <xdir>/startup.txt */
-	buf = g_strdup_printf ("%s" G_DIR_SEPARATOR_S "startup.txt", get_xdir ());
+	buf = g_build_filename (get_xdir (), "startup.txt", NULL);
 	load_perform_file (sess, buf);
 	g_free (buf);
 }