From b55583410383086f0f7c1ab3073b3d37dee4e71d Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sat, 24 Feb 2007 20:51:05 +0000 Subject: [PATCH] Fix bug 3266 * src/support/filetools.C (makeLatexName): Don't set the 8th bit of characters to 0. This is not needed anymore, since we don't use isalpha() anymore, but a whitelist of allowed characters. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17331 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/filetools.C | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/support/filetools.C b/src/support/filetools.C index 7a8448df49..2a9caa6867 100644 --- a/src/support/filetools.C +++ b/src/support/filetools.C @@ -117,9 +117,6 @@ string const makeLatexName(string const & file) string name = onlyFilename(file); string const path = onlyPath(file); - for (string::size_type i = 0; i < name.length(); ++i) - name[i] &= 0x7f; // set 8th bit to 0 - // ok so we scan through the string twice, but who cares. string const keep = "abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ"