summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hofmann <scm@uninformativ.de>2014-06-14 19:12:20 +0200
committerPeter Hofmann <scm@uninformativ.de>2014-06-14 19:12:20 +0200
commit0537371b07afc15c29d10cd88f2c432c717a3d66 (patch)
tree617364fae81f8743133ee26631a65121672e6575
parent079f2c88aa6a0e85446adf68051a393751b96b8e (diff)
downloadlariza-0537371b07afc15c29d10cd88f2c432c717a3d66.tar.gz
Use g_build_filename()
-rw-r--r--zea.c2
1 files changed, 1 insertions, 1 deletions
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)
{