+2015-07-19 Benno Schulenberg <bensberg@justemail.net>
+ * src/nano.c (main): Accept again a +LINE argument for each file
+ given on the command line. This fixes Savannah bug #45576.
+
2015-07-18 Benno Schulenberg <bensberg@justemail.net>
* src/winio.c (edit_draw): When looking for multiline-regex matches,
look for a new start only after an end, instead of right after the
/* If there's a +LINE or +LINE,COLUMN flag here, it is
* followed by at least one other argument, the filename it
* applies to. */
- if (i < argc - 1 && argv[i][0] == '+' && iline == 1 &&
- icol == 1)
+ if (i < argc - 1 && argv[i][0] == '+')
parse_line_column(&argv[i][1], &iline, &icol);
else {
open_buffer(argv[i], FALSE);
if (iline > 0 || icol > 0) {
do_gotolinecolumn(iline, icol, FALSE, FALSE, FALSE,
FALSE);
- iline = 1;
- icol = 1;
+ iline = 0;
+ icol = 0;
}
#ifndef DISABLE_HISTORIES
else {