diff options
author | Dave Davenport <qball@gmpclient.org> | 2022-12-31 14:37:56 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2022-12-31 14:37:56 +0100 |
commit | 578cb391e40ab34ec049d485cbde568b944c7c60 (patch) | |
tree | f1860d3b9ccad00bd2ff3ad0df8d6e5f0f62f3df | |
parent | 3d62bb32c93365729c2db11bc81be46c050fabaf (diff) |
[Helper] Quick fix for wrong dereference.
-rw-r--r-- | source/helper.c | 3 |
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(); |