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
This commit is contained in:
Florian Müllner 2017-02-03 15:57:38 +01:00
parent 8f7a1df7e7
commit 047376dd1d

View File

@ -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;