]> git.mdlowis.com Git - proto/labwc.git/commitdiff
theme: fix loading *-inactive.svg icons
authortokyo4j <hrak1529@gmail.com>
Sun, 6 Oct 2024 11:49:21 +0000 (20:49 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Sun, 6 Oct 2024 11:57:37 +0000 (20:57 +0900)
src/theme.c

index bfcaa3dc597cbe7805e60e87a70c46dcd7f902d4..87015ea014ea0087f2e00350ba6d8e3c5a8e6381 100644 (file)
@@ -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