X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FFileName.cpp;h=b8cd5b3c4379d78ab97329d1d886b9af78547e07;hb=848c89564fce9c4bfec79b915746dc6bc47abc3d;hp=247cdd4fa2d79060b97741012c855aa12e107010;hpb=f212b483355d68e93132fb469814e13335d0886b;p=lyx.git diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index 247cdd4fa2..b8cd5b3c43 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -177,8 +177,8 @@ string const DocFileName::mangledFilename(std::string const & dir) const // On windows it is not possible to create files with '<', '>' or '?' // in the name. static string const keep = "abcdefghijklmnopqrstuvwxyz" - "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - "+,-0123456789;="; + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "+,-0123456789;="; string::size_type pos = 0; while ((pos = mname.find_first_not_of(keep, pos)) != string::npos) mname[pos++] = '_';