From: tokyo4j Date: Sun, 6 Oct 2024 11:49:21 +0000 (+0900) Subject: theme: fix loading *-inactive.svg icons X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=328f873db3511ba7466804a1c44be2bc8cce277c;p=proto%2Flabwc.git theme: fix loading *-inactive.svg icons --- 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