013-04-07 Michael Berg <mike@berg-net.us>
* do_cut_text - Fix copying (not cutting) text setting Modified state. Fixes issue reported by Benno Schulenberg. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4573 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
0438575c4c
commit
4cc4b9ba08
|
@ -1,3 +1,7 @@
|
||||||
|
2013-04-07 Michael Berg <mike@berg-net.us>
|
||||||
|
* do_cut_text - Fix copying (not cutting) text setting Modified state. Fixes
|
||||||
|
issue reported by Benno Schulenberg.
|
||||||
|
|
||||||
GNU nano 2.3.2 - 2011.03.23
|
GNU nano 2.3.2 - 2011.03.23
|
||||||
2013-03-17 Chris Allegretta <chrisa@asty.org>
|
2013-03-17 Chris Allegretta <chrisa@asty.org>
|
||||||
* Revert r4547 as we should have a new release and the overlap code is not yet
|
* Revert r4547 as we should have a new release and the overlap code is not yet
|
||||||
|
|
|
@ -209,7 +209,9 @@ void do_cut_text(
|
||||||
#endif
|
#endif
|
||||||
/* Leave the text in the cutbuffer, and mark the file as
|
/* Leave the text in the cutbuffer, and mark the file as
|
||||||
* modified. */
|
* modified. */
|
||||||
set_modified();
|
if (!copy_text) {
|
||||||
|
set_modified();
|
||||||
|
}
|
||||||
|
|
||||||
/* Update the screen. */
|
/* Update the screen. */
|
||||||
edit_refresh_needed = TRUE;
|
edit_refresh_needed = TRUE;
|
||||||
|
|
Loading…
Reference in New Issue