projects
/
nano.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e36fd8
)
cut.c:cut_marked_segment() - Add magic line when cutting a selection including filebo...
author
Chris Allegretta
<chrisa@asty.org>
Tue, 2 Oct 2001 00:24:37 +0000
(
00:24
+0000)
committer
Chris Allegretta
<chrisa@asty.org>
Tue, 2 Oct 2001 00:24:37 +0000
(
00:24
+0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@805
35c25a1d
-7b9e-4130-9fde-
d3aeb78583b8
ChangeLog
patch
|
blob
|
history
cut.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 90690987be87d11c598f16bf3319c22252c994aa..ede5427b239b9010d498f9f87d35e6407d666402 100644
(file)
--- 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
(file)
--- 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)