projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ps: conditionally enable -T on non-DESKTOP build too
[oweals/busybox.git]
/
miscutils
/
less.c
diff --git
a/miscutils/less.c
b/miscutils/less.c
index bd855066fbd2b6ee5b7d73cfd7c7782a02787950..ce77ddd3a1e1ceecc3d22fef5d2fc4aef58bed6b 100644
(file)
--- a/
miscutils/less.c
+++ b/
miscutils/less.c
@@
-624,7
+624,7
@@
static void print_found(const char *line)
while (match_status == 0) {
char *new = xasprintf("%s%.*s"HIGHLIGHT"%.*s"NORMAL,
- growline ? : "",
+ growline ?
growline
: "",
match_structs.rm_so, str,
match_structs.rm_eo - match_structs.rm_so,
str + match_structs.rm_so);