From 73d5f55a00c944fb354999537c3c62e3a96c81e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Wed, 3 Nov 1999 12:45:11 +0000 Subject: [PATCH] another stupid bug git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@281 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/filetools.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/filetools.C b/src/support/filetools.C index 9370ea385e..afe48aeaa8 100644 --- a/src/support/filetools.C +++ b/src/support/filetools.C @@ -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); } -- 2.39.2