aboutsummaryrefslogtreecommitdiff
path: root/miscutils/less.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index bd855066f..ce77ddd3a 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -624,7 +624,7 @@ static void print_found(const char *line)
624 624
625 while (match_status == 0) { 625 while (match_status == 0) {
626 char *new = xasprintf("%s%.*s"HIGHLIGHT"%.*s"NORMAL, 626 char *new = xasprintf("%s%.*s"HIGHLIGHT"%.*s"NORMAL,
627 growline ? : "", 627 growline ? growline : "",
628 match_structs.rm_so, str, 628 match_structs.rm_so, str,
629 match_structs.rm_eo - match_structs.rm_so, 629 match_structs.rm_eo - match_structs.rm_so,
630 str + match_structs.rm_so); 630 str + match_structs.rm_so);