diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-19 17:48:55 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-19 17:48:55 +0000 |
commit | 7bae485ea4604f385c47c33c71cc138e399a4ba1 (patch) | |
tree | 88ad5e12a8cc9ee281257580e16024aae9a6f2d2 /shell | |
parent | 5b6f8dad67f77e20b77911bc995818e015270e6f (diff) | |
download | busybox-w32-7bae485ea4604f385c47c33c71cc138e399a4ba1.tar.gz busybox-w32-7bae485ea4604f385c47c33c71cc138e399a4ba1.tar.bz2 busybox-w32-7bae485ea4604f385c47c33c71cc138e399a4ba1.zip |
Fix to cmdedit.c from Vladimir
git-svn-id: svn://busybox.net/trunk/busybox@2138 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r-- | shell/cmdedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 6dcc33844..ffe7afab2 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c | |||
@@ -580,6 +580,7 @@ static void cmdedit_setwidth(int w, int redraw_flg) | |||
580 | 580 | ||
581 | extern void cmdedit_init(void) | 581 | extern void cmdedit_init(void) |
582 | { | 582 | { |
583 | cmdedit_prmt_len = 0; | ||
583 | if ((handlers_sets & SET_WCHG_HANDLERS) == 0) { | 584 | if ((handlers_sets & SET_WCHG_HANDLERS) == 0) { |
584 | /* emulate usage handler to set handler and call yours work */ | 585 | /* emulate usage handler to set handler and call yours work */ |
585 | win_changed(-SIGWINCH); | 586 | win_changed(-SIGWINCH); |