]> git.mdlowis.com Git - proto/labwc.git/commitdiff
theme: fix parsing inactive label colors
authorJoshie <joshua@froggi.es>
Sat, 16 Oct 2021 23:17:46 +0000 (23:17 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 17 Oct 2021 10:59:02 +0000 (11:59 +0100)
There was a typo here which meant these never got parsed and always appeared as black.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
src/theme.c

index 10e0a8683b83c758cfa857628093291b5c644e36..e487d72f645ffceec5be033e5f5b03c39dc0d062 100644 (file)
@@ -161,7 +161,7 @@ entry(struct theme *theme, const char *key, const char *value)
        if (match(key, "window.active.label.text.color")) {
                parse_hexstr(value, theme->window_active_label_text_color);
        }
-       if (match(key, "window.inactive.lable.text.color")) {
+       if (match(key, "window.inactive.label.text.color")) {
                parse_hexstr(value, theme->window_inactive_label_text_color);
        }