Amend [b6c089afa4/lyxgit].

This commit is contained in:
Juergen Spitzmueller 2021-02-03 10:23:17 +01:00
parent bd0044f9d5
commit 8d5da386c4

View File

@ -895,12 +895,12 @@ void Text::insertStringAsLines(Cursor & cur, docstring const & str,
++pos; ++pos;
space_inserted = true; space_inserted = true;
} }
} else if (specialchars.find(ch) != specialchars.end()) { } else if (specialchars.find(ch) != specialchars.end()
if (par.insertInset(pos, new InsetSpecialChar(specialchars.find(ch)->second), && (par.insertInset(pos, new InsetSpecialChar(specialchars.find(ch)->second),
font, bparams.track_changes ? font, bparams.track_changes
Change(Change::INSERTED) ? Change(Change::INSERTED)
: Change(Change::UNCHANGED))) : Change(Change::UNCHANGED)))) {
++pos; ++pos;
space_inserted = false; space_inserted = false;
} else if (!isPrintable(ch)) { } else if (!isPrintable(ch)) {
// Ignore (other) unprintables // Ignore (other) unprintables