From 578cb391e40ab34ec049d485cbde568b944c7c60 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Sat, 31 Dec 2022 14:37:56 +0100 Subject: [PATCH] [Helper] Quick fix for wrong dereference. --- source/helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();