Fix #6914 for branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35494 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-09-24 17:24:25 +00:00
parent 6f5a7accc7
commit 84f6f46865

View File

@ -1125,7 +1125,7 @@ string DocFileName::mangledFilename(string const & dir) const
// in the name.
static string const keep = "abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"+,-0123456789;=";
"+-0123456789;=";
string::size_type pos = 0;
while ((pos = mname.find_first_not_of(keep, pos)) != string::npos)
mname[pos++] = '_';