mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
#6848 correct load order of files to open on startup - author of patch: Punyashloka Biswal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35182 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7238d40c99
commit
31dbbc43d9
@ -464,7 +464,7 @@ int LyX::init(int & argc, char * argv[])
|
|||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
// Remaining arguments are assumed to be files to load.
|
// Remaining arguments are assumed to be files to load.
|
||||||
for (int argi = argc - 1; argi >= 1; --argi)
|
for (int argi = 1; argi < argc; ++argi)
|
||||||
pimpl_->files_to_load_.push_back(os::utf8_argv(argi));
|
pimpl_->files_to_load_.push_back(os::utf8_argv(argi));
|
||||||
|
|
||||||
if (first_start) {
|
if (first_start) {
|
||||||
|
Loading…
Reference in New Issue
Block a user