]> git.lyx.org Git - features.git/commit
Fix some problems in makeAbsPath():
authorRichard Heck <rgheck@comcast.net>
Sat, 26 Jan 2008 20:41:19 +0000 (20:41 +0000)
committerRichard Heck <rgheck@comcast.net>
Sat, 26 Jan 2008 20:41:19 +0000 (20:41 +0000)
commit1a7b7f654151908e2123feb89d433480c26936a6
tree29bd0f4ff25eca2aeac24703831db1ec391c2e21
parent6751c8a72f3d895699f081e86b1e67810b471204
Fix some problems in makeAbsPath():
i.  It didn't handle a leading "~"
ii. It wrongly handled a string of ../../etc when this took us back to the root directory.
Fix for (i) borrowed from expandPath(). The other is just logic.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22687 a592a061-630c-0410-9148-cb99ea01b6c8
src/support/filetools.cpp