diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-18 00:31:27 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-18 00:36:42 +0100 |
commit | 1e825acf8d715fe49af040cb02f9e96c26955832 (patch) | |
tree | 1ba246aca6ab29b154dd14e61e96fafd6bab475e /editors/patch_toybox.c | |
parent | 8ad2acf352d790d0bdd792b8e126d58a088451f3 (diff) | |
download | busybox-w32-1e825acf8d715fe49af040cb02f9e96c26955832.tar.gz busybox-w32-1e825acf8d715fe49af040cb02f9e96c26955832.tar.bz2 busybox-w32-1e825acf8d715fe49af040cb02f9e96c26955832.zip |
libbb: shrink lineedit_read_key()
function old new delta
lineedit_read_key 237 231 -6
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/patch_toybox.c')
-rw-r--r-- | editors/patch_toybox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/patch_toybox.c b/editors/patch_toybox.c index aebab8132..69a508b2e 100644 --- a/editors/patch_toybox.c +++ b/editors/patch_toybox.c | |||
@@ -441,7 +441,7 @@ int patch_main(int argc UNUSED_PARAM, char **argv) | |||
441 | TT.filein = TT.fileout = -1; | 441 | TT.filein = TT.fileout = -1; |
442 | 442 | ||
443 | // Loop through the lines in the patch | 443 | // Loop through the lines in the patch |
444 | for(;;) { | 444 | for (;;) { |
445 | char *patchline; | 445 | char *patchline; |
446 | 446 | ||
447 | patchline = get_line(TT.filepatch); | 447 | patchline = get_line(TT.filepatch); |