summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/paths.c4
-rw-r--r--src/core/paths.h2
2 files changed, 3 insertions, 3 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;
diff --git a/src/core/paths.h b/src/core/paths.h
index c16a278..a755559 100644
--- a/src/core/paths.h
+++ b/src/core/paths.h
@@ -30,7 +30,7 @@
char *find_pixmap_file(const char *);
/* Trouve le chemin d'accès complet à un fichier de greffon. */
-char *find_plugin_file(const char *, const char *);
+char *find_plugin_data_file(const char *, const char *);