summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2022-12-31 20:12:04 +0100
committerDave Davenport <qball@gmpclient.org>2022-12-31 20:12:04 +0100
commitda713a8ec0beb2b1ec41120fb3277fe294d2d3a0 (patch)
tree3a3c9752bba87387a854c147b98c7773337de73f
parentde849b2587fa82264e5d0ee7b65ad878b5c6a93a (diff)
parent578cb391e40ab34ec049d485cbde568b944c7c60 (diff)
Merge remote-tracking branch 'origin/next' into next
-rw-r--r--source/helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/helper.c b/source/helper.c
index 8f5f95ff..bb7f76a5 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -1087,7 +1087,8 @@ char *helper_get_theme_path(const char *file, const char **ext) {
if (ext_found) {
filename = g_strdup(file);
} else {
- filename = g_strconcat(file, ext, NULL);
+ // TODO: Pick the first extension. needs fixing.
+ filename = g_strconcat(file, ext[0], NULL);
}
// Check config's themes directory.
const char *cpath = g_get_user_config_dir();