diff --git a/ChangeLog b/ChangeLog index 90690987be87d11c598f16bf3319c22252c994aa..ede5427b239b9010d498f9f87d35e6407d666402 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,10 @@ CVS code - by DLR. - Call do_gotopos from do_alt_spell() to keep position consistent when invoking alt speller (DLR). +- cut.c: + cut_marked_segment() + - Add magic line when cutting a selection including filebot + (discovered by DLR, fixed by DLR & Chris) - files.c: do_writeout() - Expanded strings to not use %s and ?: to determine diff --git a/cut.c b/cut.c index f37d151fb999d31cd4984f73fb897b408a92a23c..d69afd308eb1a6ac86832508cb9e61d41c70c5bb 100644 --- a/cut.c +++ b/cut.c @@ -180,6 +180,8 @@ void cut_marked_segment(filestruct * top, int top_x, filestruct * bot, filebot = next; } else { filebot = top; + if (top_x > 0) + new_magicline(); } } if (top->lineno < edittop->lineno)