[Helper] Quick fix for wrong dereference.

This commit is contained in:
Dave Davenport 2022-12-31 14:37:56 +01:00
parent 3d62bb32c9
commit 578cb391e4

View file

@ -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();