Replace g_strdup_printf with g_build_filename where possible

This commit is contained in:
Berke Viktor
2013-05-04 18:21:48 +02:00
parent b2317d8800
commit fb01d4e9ab
9 changed files with 19 additions and 19 deletions

View File

@@ -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);
}