Set first theme as default if not specified in rule
This commit is contained in:
@@ -184,6 +184,9 @@ config_rule(void)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
r->theme = SLIST_FIRST(&W->h.theme);
|
||||||
|
|
||||||
SLIST_INSERT_HEAD(&W->h.rule, r, next);
|
SLIST_INSERT_HEAD(&W->h.rule, r, next);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user