]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
nullptr
[lyx.git] / src / Paragraph.cpp
index bd16ca44022896ccb44250ebfa8171b327175fdc..6373b2cde51096b713830332fb4cfa15f629ac20 100644 (file)
@@ -1129,7 +1129,7 @@ void Paragraph::Private::latexSpecialChar(otexstream & os,
 {
        char_type const c = owner_->getUChar(bparams, runparams, i);
 
-       if (style.pass_thru || runparams.pass_thru
+       if (style.pass_thru || runparams.pass_thru || runparams.for_search
            || contains(style.pass_thru_chars, c)
            || contains(runparams.pass_thru_chars, c)) {
                if (c != '\0') {