mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 08:40:19 +00:00
Replace g_strdup_printf with g_build_filename where possible
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user