From 20090e056786e3c6de3d75195fa5473d3b6a6bca Mon Sep 17 00:00:00 2001 From: Ilia Maslakov Date: Thu, 7 May 2009 10:23:32 +0000 Subject: [PATCH] fix: error call edit_delete, add needed param. --- edit/editcmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edit/editcmd.c b/edit/editcmd.c index 1fc543954..e72f88c9d 100644 --- a/edit/editcmd.c +++ b/edit/editcmd.c @@ -2448,11 +2448,11 @@ edit_move_block_to_left (WEdit * edit) } next_char = edit_get_byte (edit, edit->curs1); if ( next_char == '\t' ) { - edit_delete (edit); + edit_delete (edit, 1); } else if ( next_char == ' ' ) { for (i = 1; i <= del_tab_width; i++) { if ( next_char == ' ' ) { - edit_delete (edit); + edit_delete (edit, 1); } next_char = edit_get_byte (edit, edit->curs1); }