Call os::internal_path on each file passed to LyX on the command line.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9756 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-03-29 14:47:54 +00:00
parent da3d159f7f
commit 42dfdbc8c7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-03-29 Angus Leeming <leeming@lyx.org>
* lyx_main.C (priv_exec): call os::internal_path on each file passed
to LyX on the command line.
2005-03-25 Stephan Witt <stephan.witt@beusen.de>
* vc-backend.C: use QuoteName to protect file names wherever

View File

@ -235,7 +235,7 @@ void LyX::priv_exec(int & argc, char * argv[])
vector<string> files;
for (int argi = argc - 1; argi >= 1; --argi)
files.push_back(argv[argi]);
files.push_back(os::internal_path(argv[argi]));
if (first_start)
files.push_back(i18nLibFileSearch("examples", "splash.lyx"));