summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/paths.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/paths.c b/src/core/paths.c
index 13b9cbe..8e825d2 100644
--- a/src/core/paths.c
+++ b/src/core/paths.c
@@ -136,8 +136,8 @@ char *find_plugin_file(const char *pgname, const char *filename)
#ifndef DISCARD_LOCAL
- asprintf(&dirname, "%s%splugins%s%s%s%s",
- PACKAGE_SOURCE_DIR, G_DIR_SEPARATOR_S, G_DIR_SEPARATOR_S, pgname, G_DIR_SEPARATOR_S, filename);
+ asprintf(&dirname, "%s%splugins%s%s",
+ PACKAGE_SOURCE_DIR, G_DIR_SEPARATOR_S, G_DIR_SEPARATOR_S, pgname);
result = find_file_in_directory(dirname, filename);