]> git.lyx.org Git - lyx.git/commit
Fix shortenng of file names in MakeDisplayPath: it is not a good idea to slice an...
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 6 Nov 2011 22:36:14 +0000 (22:36 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 6 Nov 2011 22:36:14 +0000 (22:36 +0000)
commitd7320ad89b26bb89f8f133801c6a452005e5bff3
tree2af01f058ca36cabe404813ca77ae12aaaab66c4
parenta3360ac3c6d401b6c6758905c1415520ea0d8ad8
Fix shortenng of file names in MakeDisplayPath: it is not a good idea to slice an utf8 string at arbitrary offsets, we have to work on a docstring instead. We need unfortunately to switch back and orth between utf8 and docstring.

This is a candidate for branch too, although the bug is minor.

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