** Open BUGS **
-Informal note - when using marked write to file, the number of lines
-written is off by one. Delete this message when fixed.
-
$Id$
write_file()
- New arg, nonamechange, means whether or not to update the
current filename after writing the file out.
+ - Increment lineswritten when the very last line isn't null.
+ Fixes off by one count when writing selection to file.
- global.c:
- Updated some of the lists for the "Goto Directory" code (Rocco)
- move.c:
return -1;
} else if (size > 0) {
size = write(fd, "\n", 1);
+ lineswritten++;
if (size == -1) {
statusbar(_("Could not open file for writing: %s"),
strerror(errno));