Changes in global.c [06af663:16cf182d]
Legend:
- Unmodified
- Added
- Removed
-
global.c
r06af663 r16cf182d 77 77 g->confdir = NULL; 78 78 g->startupfile = NULL; 79 cd = g_ build_filename(g->homedir, OWL_CONFIG_DIR, NULL);79 cd = g_strdup_printf("%s/%s", g->homedir, OWL_CONFIG_DIR); 80 80 owl_global_set_confdir(g, cd); 81 81 g_free(cd); … … 364 364 g->confdir = g_strdup(cd); 365 365 g_free(g->startupfile); 366 g->startupfile = g_ build_filename(cd, "startup", NULL);366 g->startupfile = g_strdup_printf("%s/startup", cd); 367 367 } 368 368
Note: See TracChangeset
for help on using the changeset viewer.