diff options
author | Matt Kraai <kraai@debian.org> | 2001-12-20 23:13:26 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-12-20 23:13:26 +0000 |
commit | 1f0c43668ac332cbcf61cbdf71844799327cc8b9 (patch) | |
tree | 97414e991363fa613f229019d697280cae1097e0 /shell/cmdedit.c | |
parent | 31c73af656813b5cadcb1dd27adb9bbc62a98987 (diff) | |
download | busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.tar.gz busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.tar.bz2 busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.zip |
Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.
Diffstat (limited to 'shell/cmdedit.c')
-rw-r--r-- | shell/cmdedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index d57e4c12b..b90891587 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c | |||
@@ -769,7 +769,7 @@ static char **exe_n_cwd_tab_completion(char *command, int *num_matches, | |||
769 | goto cont; | 769 | goto cont; |
770 | str_found = add_quote_for_spec_chars(found); | 770 | str_found = add_quote_for_spec_chars(found); |
771 | if (type == FIND_FILE_ONLY || | 771 | if (type == FIND_FILE_ONLY || |
772 | (type == FIND_EXE_ONLY && is_execute(&st) == TRUE)) | 772 | (type == FIND_EXE_ONLY && is_execute(&st))) |
773 | strcat(str_found, " "); | 773 | strcat(str_found, " "); |
774 | } | 774 | } |
775 | /* Add it to the list */ | 775 | /* Add it to the list */ |
@@ -980,7 +980,7 @@ static void input_tab(int *lastWasTab) | |||
980 | } | 980 | } |
981 | return; | 981 | return; |
982 | } | 982 | } |
983 | if (*lastWasTab == FALSE) { | 983 | if (! *lastWasTab) { |
984 | 984 | ||
985 | char *tmp; | 985 | char *tmp; |
986 | int len_found; | 986 | int len_found; |