mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 16:50:19 +00:00
Replace g_strdup_printf with g_build_filename where possible
This commit is contained in:
@@ -1214,7 +1214,7 @@ servlist_save (void)
|
||||
#ifndef WIN32
|
||||
int first = FALSE;
|
||||
|
||||
buf = g_strdup_printf ("%s/servlist.conf", get_xdir ());
|
||||
buf = g_build_filename (get_xdir (), "servlist.conf", NULL);
|
||||
if (g_access (buf, F_OK) != 0)
|
||||
first = TRUE;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user