From 0537371b07afc15c29d10cd88f2c432c717a3d66 Mon Sep 17 00:00:00 2001 From: Peter Hofmann Date: Sat, 14 Jun 2014 19:12:20 +0200 Subject: Use g_build_filename() --- zea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zea.c b/zea.c index 79e14cc..679979d 100644 --- a/zea.c +++ b/zea.c @@ -352,7 +352,7 @@ zea_load_adblock(void) gchar *buf = NULL; gsize length, term; - path = g_strdup_printf("%s/zea/adblock.black", g_get_user_config_dir()); + path = g_build_filename(g_get_user_config_dir(), "zea", "adblock.black", NULL); channel = g_io_channel_new_file(path, "r", &err); if (channel != NULL) { -- cgit v1.2.3