From: Daniel Carl Date: Mon, 5 Jun 2017 22:14:06 +0000 (+0200) Subject: Fixed unused function parameter. X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=56d7f94ed516587452b1051a4dc6578dad7ea584;p=vimb.git Fixed unused function parameter. --- diff --git a/src/util.c b/src/util.c index e5a813b..3355c88 100644 --- a/src/util.c +++ b/src/util.c @@ -366,7 +366,7 @@ char *util_get_filepath(const char *dir, const char *filename, gboolean create) char *fullpath; /* Built the full path out of config dir and given file name. */ - fullpath = g_build_filename(util_get_config_dir(), filename, NULL); + fullpath = g_build_filename(dir, filename, NULL); if (g_file_test(fullpath, G_FILE_TEST_IS_REGULAR)) { return fullpath;