mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05: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) {
|
if (ext_found) {
|
||||||
filename = g_strdup(file);
|
filename = g_strdup(file);
|
||||||
} else {
|
} 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.
|
// Check config's themes directory.
|
||||||
const char *cpath = g_get_user_config_dir();
|
const char *cpath = g_get_user_config_dir();
|
||||||
|
|
Loading…
Reference in a new issue