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:
parent
01975b61f5
commit
e6e786a19c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user