summary refs log tree commit diff stats
path: root/src/common/hexchat.c
diff options
context:
space:
mode:
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);
 }