tweaks: adjust the indentation after the previous change
And regroup things a bit.master
parent
365058c48f
commit
6bab8d19c6
21
src/rcfile.c
21
src/rcfile.c
|
@ -1086,19 +1086,18 @@ void parse_rule(char *ptr, int rex_flags)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
newcolor->fg = fg;
|
newcolor->fg = fg;
|
||||||
newcolor->bg = bg;
|
newcolor->bg = bg;
|
||||||
newcolor->attributes = attributes;
|
newcolor->attributes = attributes;
|
||||||
|
newcolor->end = NULL;
|
||||||
|
|
||||||
newcolor->end = NULL;
|
if (lastcolor == NULL)
|
||||||
newcolor->next = NULL;
|
live_syntax->color = newcolor;
|
||||||
|
else
|
||||||
|
lastcolor->next = newcolor;
|
||||||
|
|
||||||
if (lastcolor == NULL)
|
newcolor->next = NULL;
|
||||||
live_syntax->color = newcolor;
|
lastcolor = newcolor;
|
||||||
else
|
|
||||||
lastcolor->next = newcolor;
|
|
||||||
|
|
||||||
lastcolor = newcolor;
|
|
||||||
|
|
||||||
if (!expectend)
|
if (!expectend)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue