mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
mangle spaces in filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10101 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2368acd8c0
commit
e1daab958f
@ -1,3 +1,7 @@
|
||||
2005-06-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* FileName.C (mangledFilename): replace spaces with _
|
||||
|
||||
2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* filetools.C (latex_path): protect " with \string since it may be
|
||||
|
@ -84,6 +84,8 @@ string const FileName::mangledFilename() const
|
||||
mname = subst(mname, "/", "_");
|
||||
// Replace '.' in the file name with '_'
|
||||
mname = subst(mname, ".", "_");
|
||||
// Replace ' ' in the file name with '_'
|
||||
mname = subst(mname, " ", "_");
|
||||
// Add the extension back on
|
||||
mname = ChangeExtension(mname, GetExtension(name_));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user