aboutsummaryrefslogtreecommitdiff
path: root/miscutils/less.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 27855bbe8..702c4a891 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -145,7 +145,7 @@ struct globals {
145 current_file = 1; \ 145 current_file = 1; \
146 eof_error = 1; \ 146 eof_error = 1; \
147 terminated = 1; \ 147 terminated = 1; \
148 USE_FEATURE_LESS_REGEXP(wanted_match = -1;) \ 148 IF_FEATURE_LESS_REGEXP(wanted_match = -1;) \
149} while (0) 149} while (0)
150 150
151/* flines[] are lines read from stdin, each in malloc'ed buffer. 151/* flines[] are lines read from stdin, each in malloc'ed buffer.
@@ -326,7 +326,7 @@ static void read_lines(void)
326 if (option_mask32 & FLAG_N) 326 if (option_mask32 & FLAG_N)
327 w -= 8; 327 w -= 8;
328 328
329 USE_FEATURE_LESS_REGEXP(again0:) 329 IF_FEATURE_LESS_REGEXP(again0:)
330 330
331 p = current_line = ((char*)xmalloc(w + 4)) + 4; 331 p = current_line = ((char*)xmalloc(w + 4)) + 4;
332 max_fline += last_terminated; 332 max_fline += last_terminated;
@@ -1509,7 +1509,7 @@ int less_main(int argc, char **argv)
1509 /* TODO: -x: do not interpret backspace, -xx: tab also */ 1509 /* TODO: -x: do not interpret backspace, -xx: tab also */
1510 /* -xxx: newline also */ 1510 /* -xxx: newline also */
1511 /* -w N: assume width N (-xxx -w 32: hex viewer of sorts) */ 1511 /* -w N: assume width N (-xxx -w 32: hex viewer of sorts) */
1512 getopt32(argv, "EMmN~I" USE_FEATURE_LESS_DASHCMD("S")); 1512 getopt32(argv, "EMmN~I" IF_FEATURE_LESS_DASHCMD("S"));
1513 argc -= optind; 1513 argc -= optind;
1514 argv += optind; 1514 argv += optind;
1515 num_files = argc; 1515 num_files = argc;