summaryrefslogtreecommitdiff
path: root/xC.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-19 04:26:08 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-19 04:26:35 +0200
commitc0e1cd57b24469d36fa74b4ae37ba621eead07a0 (patch)
tree43416e3f314cbaf338642d26e52146ab466671a0 /xC.c
parent00184811ea6ba7f3bb53730ef026d653a5121e50 (diff)
downloadxK-c0e1cd57b24469d36fa74b4ae37ba621eead07a0.tar.gz
xK-c0e1cd57b24469d36fa74b4ae37ba621eead07a0.tar.xz
xK-c0e1cd57b24469d36fa74b4ae37ba621eead07a0.zip
Make sure to always find installed plugins
Diffstat (limited to 'xC.c')
-rw-r--r--xC.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xC.c b/xC.c
index 211f3e0..eb09053 100644
--- a/xC.c
+++ b/xC.c
@@ -11540,6 +11540,7 @@ plugin_resolve_relative_filename (const char *filename)
{
struct strv paths = strv_make ();
get_xdg_data_dirs (&paths);
+ strv_append (&paths, PROJECT_DATADIR);
char *result = resolve_relative_filename_generic
(&paths, PROGRAM_NAME "/plugins/", filename);
strv_free (&paths);