You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
abstracts_register(abstracts)
SV *abstracts
PREINIT:
AV *av;
char *key, *value;
int i, len;
CODE:
if (!SvROK(abstracts))
croak("abstracts is not a reference to list");
av = (AV *) SvRV(abstracts);
len = av_len(av)+1;
if (len == 0 || (len & 1) != 0)
croak("abstracts list is invalid - not divisible by 2 (%d)", len);
for (i = 0; i < len; i++) {
key = SvPV_nolen(*av_fetch(av, i, 0)); i++;
value = SvPV_nolen(*av_fetch(av, i, 0));
theme_set_default_abstract(key, value);
}
themes_reload();
reported by pierrot
abstracts_register will reload the theme, so any /format changes are lost
The text was updated successfully, but these errors were encountered: