diff options
author | Peter Hofmann <scm@uninformativ.de> | 2014-06-14 19:12:20 +0200 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2014-06-14 19:12:20 +0200 |
commit | 0537371b07afc15c29d10cd88f2c432c717a3d66 (patch) | |
tree | 617364fae81f8743133ee26631a65121672e6575 | |
parent | 079f2c88aa6a0e85446adf68051a393751b96b8e (diff) | |
download | lariza-0537371b07afc15c29d10cd88f2c432c717a3d66.tar.gz |
Use g_build_filename()
-rw-r--r-- | zea.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |