diff --git a/ChangeLog b/ChangeLog
index 506a4477df457f2e154730ff4daa2b1dab127f8f..9be5260e01761c464e458002e7bc7c62c71be977 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@ CVS code -
 	- Fix renumbering bug when uncutting marked test at filebot.
 	- Fix screen not being displayed when we are uncutting marked
 	  text at editbot (Bug discovered by Ken Tyler).
+	- Fix magic line not getting created when (you guessed it)
+	  uncutting marked text at filebot (Ryan Krebs).
 - files.c:
   write_file()
 	- Change open call flags, basically copy joe's way of doing it so
@@ -11,6 +13,9 @@ CVS code -
 - nano.c:
   renumber()
 	- Dont stupidly assign the value of prev->lineno if prev == NULL!
+- utils.c:
+  new_magicline()
+	- Increment totsize!!
 
 nano 0.9.23 - 12/08/2000
 General
diff --git a/cut.c b/cut.c
index 4b9fc1ae6aa101ec18bb3091cc66af9ec8daf8ef..4be37de74b2f8eecf7862171212ca61821e2debf 100644
--- a/cut.c
+++ b/cut.c
@@ -344,6 +344,7 @@ int do_uncut_text(void)
 		if (editbot == filebot)
 		    editbot = newend;
 		filebot = newend;
+		new_magicline();
 	    }
 
 	    /* Now why don't we update the totsize also */
diff --git a/utils.c b/utils.c
index 1270a9eec1b1237077912516a7744c78d16a86f9..3d0ea6d76b0a2a9542cdba602c0195a8a4294976 100644
--- a/utils.c
+++ b/utils.c
@@ -152,6 +152,7 @@ void new_magicline(void)
     filebot->next->lineno = filebot->lineno + 1;
     filebot = filebot->next;
     totlines++;
+    totsize++;
 }
 
 #ifndef DISABLE_TABCOMP