* src/files.c (do_insertfile): Mark the buffer as mofified only when
actually something was inserted. This fixes Savannah bug #45409.
* src/files.c (do_insertfile): Rename two variables for clarity.
+ * src/text.c (redo_cut): Delete two redundant assignments.
2015-11-30 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (redo_cut, update_undo): When cutting reaches the EOF,
return;
filestruct *oldcutbuffer = cutbuffer, *oldcutbottom = cutbottom;
- cutbuffer = NULL;
- cutbottom = NULL;
+ cutbuffer = cutbottom = NULL;
goto_line_posx(u->lineno, u->begin);
openfile->mark_set = FALSE;
openfile->mark_begin = NULL;
- openfile->mark_begin_x = 0;
- edit_refresh_needed = TRUE;
if (cutbuffer != NULL)
free_filestruct(cutbuffer);