]> git.lyx.org Git - features.git/commit
Fix two filename bugs (from Enrico and me)
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 21 Dec 2006 12:04:01 +0000 (12:04 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 21 Dec 2006 12:04:01 +0000 (12:04 +0000)
commita1389d411ca0116e16a9a75e0989dfea7abb0d1f
tree70ff836855edd13bb418a077c9b19f43cd7c0eab
parent0e2095ad62008e87d62cb68a939f48d87696d23f
Fix two filename bugs (from Enrico and me)

* src/support/filetools.[Ch]
(fileOpenSearch): comment out since it is unused
(fileSearch): Use addExtension instead of changeExtension, since we
are always called without extesnion, or with the correct one.
(addExtension): new function

* src/lyx_main.C
(LyX::init): tell fileSearch that we are also interested in the name
if the file does not exist

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16361 a592a061-630c-0410-9148-cb99ea01b6c8
Status.15x
src/lyx_main.C
src/support/filetools.C
src/support/filetools.h