FindAdv: Amend cd941804

Revert changes in Paragraph.cpp
This commit is contained in:
Kornel Benko 2018-12-06 14:18:24 +01:00
parent 976e0b7993
commit 32c6724fd6

View File

@ -1297,17 +1297,9 @@ void Paragraph::Private::latexSpecialChar(otexstream & os,
column += 14; column += 14;
break; break;
case '&': case '$': case '&':
case '%': case '#': case '%': case '#': case '{':
case '_': case '}': case '_':
if (runparams.for_search) {
os.put(c);
column += 1;
break;
}
// fall through
case '$':
case '{': case '}':
os << '\\'; os << '\\';
os.put(c); os.put(c);
column += 1; column += 1;