mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Revert last commit. I am not sure that is the right fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22683 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
27a843bf0f
commit
2671470085
@ -2055,9 +2055,8 @@ void LyXFunc::open(string const & fname)
|
||||
filename = fname;
|
||||
|
||||
// get absolute path of file and add ".lyx" to the filename if
|
||||
// necessary. we allow_unreadable because the file may not exist.
|
||||
FileName const fullname =
|
||||
fileSearch(string(), filename, "lyx", support::allow_unreadable);
|
||||
// necessary
|
||||
FileName const fullname = fileSearch(string(), filename, "lyx");
|
||||
if (!fullname.empty())
|
||||
filename = fullname.absFilename();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user