mirror of
https://github.com/lbonn/rofi
synced 2024-11-23 12:23:02 +00:00
[Helper] Quick fix for wrong dereference.
This commit is contained in:
parent
3d62bb32c9
commit
578cb391e4
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue