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

@@ -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