summaryrefslogtreecommitdiff
path: root/src/core/paths.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-31 19:15:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-31 19:15:26 (GMT)
commit531be2e3a96bf13cd36035cec7faa31b2534a742 (patch)
treed8c2b5f6d5601a1adfa7356f45879bb5f0fca348 /src/core/paths.c
parent1307580ca1ca820b57dcfbfcdcee9afe74cc1614 (diff)
Changed the location of installed plugins.
Diffstat (limited to 'src/core/paths.c')
-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 8e825d2..f58f46c 100644
--- a/src/core/paths.c
+++ b/src/core/paths.c
@@ -123,7 +123,7 @@ char *find_pixmap_file(const char *filename)
* *
******************************************************************************/
-char *find_plugin_file(const char *pgname, const char *filename)
+char *find_plugin_data_file(const char *pgname, const char *filename)
{
char *result; /* Trouvaille à renvoyer */
#ifndef DISCARD_LOCAL
@@ -150,7 +150,7 @@ char *find_plugin_file(const char *pgname, const char *filename)
#endif
if (result == NULL)
- result = find_file_in_directory(PLUGINS_DIR, filename);
+ result = find_file_in_directory(PLUGINS_DATA_DIR, filename);
return result;