From 56d7f94ed516587452b1051a4dc6578dad7ea584 Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Tue, 6 Jun 2017 00:14:06 +0200
Subject: [PATCH] Fixed unused function parameter.

---
 src/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.20.1