mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Spare a few cpu cycles when abstmp == realtmp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29500 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ccc77c73da
commit
5822af9bba
@ -1086,7 +1086,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
||||
// in tmpdir, call the apropriated function.
|
||||
// If tmpdir is a symlink, we may have the real
|
||||
// path passed back, so we correct for that.
|
||||
if (prefixIs(file_name, realtmp))
|
||||
if (!prefixIs(file_name, abstmp))
|
||||
file_name = subst(file_name, realtmp, abstmp);
|
||||
buf = theBufferList().getBufferFromTmp(file_name);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user