summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/rofi-icon-fetcher.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rofi-icon-fetcher.c b/source/rofi-icon-fetcher.c
index 7dc9770d..51ed6f44 100644
--- a/source/rofi-icon-fetcher.c
+++ b/source/rofi-icon-fetcher.c
@@ -332,7 +332,8 @@ static void rofi_icon_fetcher_worker(thread_state *sdata,
const char *ext = g_strrstr(sentry->entry->name, ".");
if (ext) {
- icon_path = helper_get_theme_path(sentry->entry->name, ext);
+ const char *exts2[2] = {ext, NULL};
+ icon_path = helper_get_theme_path(sentry->entry->name, exts2);
}
if (icon_path == NULL) {
sentry->query_done = TRUE;