nano.c:main() - Call load_file with arg 0 for insert, as we aren't really doing an insert, allows new_file() to run if we open a non-file at startup
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1382 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
73a7e7f450
commit
3d459ad83d
|
@ -1,6 +1,10 @@
|
||||||
CVS Code -
|
CVS Code -
|
||||||
- nano.c:
|
- nano.c:
|
||||||
usage():
|
main()
|
||||||
|
- Call load_file with arg 0 for insert, as we aren't really
|
||||||
|
doing an insert, allows new_file() to run if we open a
|
||||||
|
non-file at startup.
|
||||||
|
usage()
|
||||||
- Remove gettext markings from -p/--preserve (Jordi).
|
- Remove gettext markings from -p/--preserve (Jordi).
|
||||||
do_preserve_msg():
|
do_preserve_msg():
|
||||||
- Unsplit error message into a single fprintf call (Jordi).
|
- Unsplit error message into a single fprintf call (Jordi).
|
||||||
|
|
2
nano.c
2
nano.c
|
@ -3421,7 +3421,7 @@ int main(int argc, char *argv[])
|
||||||
fprintf(stderr, _("Main: open file\n"));
|
fprintf(stderr, _("Main: open file\n"));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
open_file(filename, 1, 1);
|
open_file(filename, 0, 1);
|
||||||
#ifdef ENABLE_MULTIBUFFER
|
#ifdef ENABLE_MULTIBUFFER
|
||||||
/* If we're using multibuffers and more than one file is specified
|
/* If we're using multibuffers and more than one file is specified
|
||||||
on the command line, load them all and switch to the first one
|
on the command line, load them all and switch to the first one
|
||||||
|
|
Loading…
Reference in New Issue