From 047376dd1d0a5c3106699407f784d32da0c51cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 3 Feb 2017 15:57:38 +0100 Subject: [PATCH] st-theme-node: Fix lookup of time values We have a time when the content type is seconds *or* milliseconds, not seconds *and* milliseconds. Whoops ... https://bugzilla.gnome.org/show_bug.cgi?id=778145 --- src/st/st-theme-node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-theme-node.c b/src/st/st-theme-node.c index 5582c7589..6608efb9d 100644 --- a/src/st/st-theme-node.c +++ b/src/st/st-theme-node.c @@ -857,7 +857,7 @@ st_theme_node_lookup_time (StThemeNode *node, if (term->type != TERM_NUMBER) continue; - if (term->content.num->type != NUM_TIME_S || + if (term->content.num->type != NUM_TIME_S && term->content.num->type != NUM_TIME_MS) continue;