From 328f873db3511ba7466804a1c44be2bc8cce277c Mon Sep 17 00:00:00 2001 From: tokyo4j Date: Sun, 6 Oct 2024 20:49:21 +0900 Subject: [PATCH] theme: fix loading *-inactive.svg icons --- src/theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme.c b/src/theme.c index bfcaa3dc..87015ea0 100644 --- a/src/theme.c +++ b/src/theme.c @@ -256,7 +256,7 @@ load_button(struct theme *theme, struct button *b, int active) if (!*buffer) { int size = theme->title_height - 2 * theme->padding_height; get_button_filename(filename, sizeof(filename), b->name, - active ? "-active.svg" : "-inactive.png"); + active ? "-active.svg" : "-inactive.svg"); img_svg_load(filename, buffer, size); } #endif