]> git.lyx.org Git - features.git/commitdiff
another stupid bug
authorLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 3 Nov 1999 12:45:11 +0000 (12:45 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 3 Nov 1999 12:45:11 +0000 (12:45 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@281 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/filetools.C

index 9370ea385e199e07b146038c351c3ae3b5eb5772..afe48aeaa88fc1b1dda225ad35d26fbfec326070 100644 (file)
@@ -83,7 +83,7 @@ string SpaceLess(string const & file)
        
        string::size_type pos = 0;
        while ((pos = name.find_first_not_of(keep, pos)) != string::npos) {
-               name[pos] = '_';
+               name[pos++] = '_';
        }
        return AddName(path, name);
 }