summaryrefslogtreecommitdiffstats
path: root/Src/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/hlgroup.c2
-rw-r--r--Src/Modules/watch.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Src/Modules/hlgroup.c b/Src/Modules/hlgroup.c
index 6c5a4bec4..1dc6ac2ef 100644
--- a/Src/Modules/hlgroup.c
+++ b/Src/Modules/hlgroup.c
@@ -43,7 +43,7 @@ convertattr(char *attrstr, int sgr)
char *r, *s;
int len;
- match_highlight(attrstr, &atr, NULL);
+ match_highlight(attrstr, &atr, NULL, NULL);
s = zattrescape(atr, sgr ? NULL : &len);
if (sgr) {
diff --git a/Src/Modules/watch.c b/Src/Modules/watch.c
index acc499518..0d86142c1 100644
--- a/Src/Modules/watch.c
+++ b/Src/Modules/watch.c
@@ -375,7 +375,7 @@ watchlog2(int inout, WATCH_STRUCT_UTMP *u, char *fmt, int prnt, int fini)
break;
case 'H':
if (*fmt == '{') {
- fmt = parsehighlight(fmt + 1, '}', &atr);
+ fmt = parsehighlight(fmt + 1, '}', &atr, NULL);
if (atr && atr != TXT_ERROR)
treplaceattrs(atr);
}