mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
theme: fix loading *-inactive.svg icons
This commit is contained in:
parent
977d561695
commit
328f873db3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue