{
struct trigger *t = cd->last_trigger;
- if (strstarts(name, "TESTING ")) {
- if (!edlib_testing(cd->root))
- return;
- name += 8;
- }
- if (strstarts(name, "NOTESTING ")) {
- if (edlib_testing(cd->root))
- return;
- name += 10;
- }
if (!t || strcmp(t->path, path) != 0 || t->type != type) {
alloc(t, pane);
t->path = strdup(path);
return;
cd = data;
+ if (strstarts(name, "TESTING ")) {
+ if (!edlib_testing(cd->root))
+ return;
+ name += 8;
+ }
+ if (strstarts(name, "NOTESTING ")) {
+ if (edlib_testing(cd->root))
+ return;
+ name += 10;
+ }
if (strcmp(section, "") == 0 || strcmp(section,"include") == 0) {
if (strcmp(name, "include") == 0) {
load_config(value, data);