diff --git a/edit/ChangeLog b/edit/ChangeLog index 77e804e59..3d5a0f0a0 100644 --- a/edit/ChangeLog +++ b/edit/ChangeLog @@ -3,6 +3,7 @@ * edit-widget.h: Changed bit fields of length 1 from signed to unsigned. * editcmd.c (edit_completion_dialog): Code cleanup. + * editdraw.c (render_edit_text): Removed unused variable. 2005-08-10 Pavel Roskin diff --git a/edit/editdraw.c b/edit/editdraw.c index 29372b6da..c92041d84 100644 --- a/edit/editdraw.c +++ b/edit/editdraw.c @@ -369,7 +369,6 @@ render_edit_text (WEdit * edit, long start_row, long start_column, long end_row, { long row = 0, curs_row; static int prev_curs_row = 0; - static int prev_start_col = 0; static long prev_curs = 0; static long prev_start = -1; @@ -467,7 +466,7 @@ render_edit_text (WEdit * edit, long start_row, long start_column, long end_row, prev_curs_row = edit->curs_row; prev_curs = edit->curs1; - prev_start_col = edit->start_col; + exit_render: edit->screen_modified = 0; prev_start = edit->start_line;