diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-24 07:30:09 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-24 07:30:09 +0000 |
commit | 7cea262273659e9894d446a3f9ea6b83fb18892a (patch) | |
tree | 299558d0939d916961a8ab55c23a0be6f9e15442 /miscutils/less.c | |
parent | a5b3e76c38371c2c5781c11cfe5980aeb041e034 (diff) | |
download | busybox-w32-7cea262273659e9894d446a3f9ea6b83fb18892a.tar.gz busybox-w32-7cea262273659e9894d446a3f9ea6b83fb18892a.tar.bz2 busybox-w32-7cea262273659e9894d446a3f9ea6b83fb18892a.zip |
small stupid changes. no code changes
Diffstat (limited to 'miscutils/less.c')
-rw-r--r-- | miscutils/less.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index 66158899d..290635d32 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
@@ -555,8 +555,8 @@ static char* getch_nowait(void) | |||
555 | } | 555 | } |
556 | 556 | ||
557 | /* Grab a character from input without requiring the return key. If the | 557 | /* Grab a character from input without requiring the return key. If the |
558 | character is ASCII \033, get more characters and assign certain sequences | 558 | * character is ASCII \033, get more characters and assign certain sequences |
559 | special return codes. Note that this function works best with raw input. */ | 559 | * special return codes. Note that this function works best with raw input. */ |
560 | static int less_getch(void) | 560 | static int less_getch(void) |
561 | { | 561 | { |
562 | char *input; | 562 | char *input; |
@@ -632,8 +632,7 @@ static void examine_file(void) | |||
632 | /* This function changes the file currently being paged. direction can be one of the following: | 632 | /* This function changes the file currently being paged. direction can be one of the following: |
633 | * -1: go back one file | 633 | * -1: go back one file |
634 | * 0: go to the first file | 634 | * 0: go to the first file |
635 | * 1: go forward one file | 635 | * 1: go forward one file */ |
636 | */ | ||
637 | static void change_file(int direction) | 636 | static void change_file(int direction) |
638 | { | 637 | { |
639 | if (current_file != ((direction > 0) ? num_files : 1)) { | 638 | if (current_file != ((direction > 0) ? num_files : 1)) { |
@@ -971,9 +970,7 @@ static void goto_mark(void) | |||
971 | } | 970 | } |
972 | #endif | 971 | #endif |
973 | 972 | ||
974 | |||
975 | #if ENABLE_FEATURE_LESS_BRACKETS | 973 | #if ENABLE_FEATURE_LESS_BRACKETS |
976 | |||
977 | static char opp_bracket(char bracket) | 974 | static char opp_bracket(char bracket) |
978 | { | 975 | { |
979 | switch (bracket) { | 976 | switch (bracket) { |
@@ -1029,7 +1026,6 @@ static void match_left_bracket(char bracket) | |||
1029 | print_statusline("No matching bracket found"); | 1026 | print_statusline("No matching bracket found"); |
1030 | buffer_line(bracket_line); | 1027 | buffer_line(bracket_line); |
1031 | } | 1028 | } |
1032 | |||
1033 | #endif /* FEATURE_LESS_BRACKETS */ | 1029 | #endif /* FEATURE_LESS_BRACKETS */ |
1034 | 1030 | ||
1035 | static void keypress_process(int keypress) | 1031 | static void keypress_process(int keypress) |