Commit 321590a5 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

More totsize fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@402 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
......@@ -15,7 +15,8 @@ CVS code -
- Dont stupidly assign the value of prev->lineno if prev == NULL!
- utils.c:
new_magicline()
- Increment totsize!!
- Increment totsize!! We decrement it when we've read a file,
everywhere else it should automatically be incremented
nano 0.9.23 - 12/08/2000
General
......
......@@ -194,6 +194,7 @@ int read_file(int fd, char *filename)
} else if (fileptr->next == NULL) {
filebot = fileptr;
new_magicline();
totsize--;
/* Update the edit buffer */
load_file();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment