stupid bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@280 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 1999-11-03 12:26:16 +00:00
parent ec0ed4013c
commit 37e0eedd21

View File

@ -82,7 +82,7 @@ string SpaceLess(string const & file)
"@!\"'()*+,-./0123456789:;<=>?[]`|");
string::size_type pos = 0;
while ((pos = name.find_first_not_of(change, pos)) != string::npos) {
while ((pos = name.find_first_not_of(keep, pos)) != string::npos) {
name[pos] = '_';
}
return AddName(path, name);