From ce2e1554908785d7accba292985017fb961b1450 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 9 Mar 2018 12:29:07 +0100 Subject: [PATCH] Fix copy and paste error in 6659304f7f8b (cherry picked from commit 0513622fd0ce600cbf283f6afdbde9841d46a546) --- src/tex2lyx/text.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index 2d9bf4b2b0..c5d7ce21d0 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -3918,7 +3918,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, if (!before.empty()) { before.erase(0, 1); before.erase(before.length() - 1, 1); - bef = convert_latexed_command_inset_arg(after); + bef = convert_latexed_command_inset_arg(before); literal |= !bef.first; before = literal ? subst(before, "\n", " ") : bef.second; if (literal && !after.empty()) @@ -4018,7 +4018,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, if (!before.empty()) { before.erase(0, 1); before.erase(before.length() - 1, 1); - bef = convert_latexed_command_inset_arg(after); + bef = convert_latexed_command_inset_arg(before); literal |= !bef.first; before = literal ? subst(before, "\n", " ") : bef.second; } @@ -4170,7 +4170,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, if (!before.empty()) { before.erase(0, 1); before.erase(before.length() - 1, 1); - bef = convert_latexed_command_inset_arg(after); + bef = convert_latexed_command_inset_arg(before); literal |= !bef.first; before = literal ? subst(before, "\n", " ") : bef.second; if (literal && !after.empty())