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
8f7a1df7e7
commit
047376dd1d
@ -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