diff --git a/ChangeLog b/ChangeLog index ccf5216c48068764c15edb1f9a9bc82448c71758..38e84c44279fbb980e5922979687391f4c2dadc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-02-03 Alex Henrie <alexhenrie24@gmail.com> + * src/cut.c (do_cut_text): Make sure to set modified even when + using --enable-tiny. + 2015-02-01 Kamil Dudka <kdudka@redhat.com> * src/files.c (write_lockfile): Avoid writing uninitialized bytes to the lock file -- a simple null_at() would not initialize the buffer. diff --git a/src/cut.c b/src/cut.c index b2b77b09ae2ac06ffeac7b1b26e65fa6e79e9b0f..7c07cc8ca151433552651ac11cb0d7c45dfbc1ea 100644 --- a/src/cut.c +++ b/src/cut.c @@ -219,10 +219,9 @@ void do_cut_text( /* Leave the text in the cutbuffer, and mark the file as * modified. */ - if (!copy_text) { - set_modified(); - } + if (!copy_text) #endif /* !NANO_TINY */ + set_modified(); /* Update the screen. */ edit_refresh_needed = TRUE;