fix screen update problem when copying the last line on the screen with
the mark off and CUT_TO_END set to FALSE git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3663 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
5b0781dbf3
Коммит
ee995b7d27
@ -127,7 +127,6 @@ void do_cut_text(
|
|||||||
size_t cb_save_len = 0;
|
size_t cb_save_len = 0;
|
||||||
/* The length of the string at the current end of the cutbuffer,
|
/* The length of the string at the current end of the cutbuffer,
|
||||||
* before we add text to it. */
|
* before we add text to it. */
|
||||||
bool old_mark_set = openfile->mark_set;
|
|
||||||
bool old_no_newlines = ISSET(NO_NEWLINES);
|
bool old_no_newlines = ISSET(NO_NEWLINES);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -208,9 +207,6 @@ void do_cut_text(
|
|||||||
set_modified();
|
set_modified();
|
||||||
|
|
||||||
/* Update the screen. */
|
/* Update the screen. */
|
||||||
#ifndef NANO_TINY
|
|
||||||
if (!copy_text || old_mark_set)
|
|
||||||
#endif
|
|
||||||
edit_refresh();
|
edit_refresh();
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user