From: Enrico Forestieri Date: Thu, 20 Oct 2016 23:58:45 +0000 (+0200) Subject: Fix indentation X-Git-Tag: 2.3.0alpha1~837 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7cf12243b87b8d3e24a46dfc18af1013fa4ea0ba;p=features.git Fix indentation --- diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index b009607b13..aea3234a19 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -2561,12 +2561,12 @@ void Paragraph::latex(BufferParams const & bparams, basefont, outerfont, open_font, runningChange, style, i, column); } - } else { - if (i >= start_pos && (end_pos == -1 || i < end_pos)) { - try { - d->latexSpecialChar(os, bparams, rp, running_font, runningChange, - style, i, end_pos, column); - } catch (EncodingException & e) { + } else if (i >= start_pos && (end_pos == -1 || i < end_pos)) { + try { + d->latexSpecialChar(os, bparams, rp, + running_font, runningChange, + style, i, end_pos, column); + } catch (EncodingException & e) { if (runparams.dryrun) { os << "<" << _("LyX Warning: ") << _("uncodable character") << " '"; @@ -2580,7 +2580,6 @@ void Paragraph::latex(BufferParams const & bparams, } } } - } // Set the encoding to that returned from latexSpecialChar (see // comment for encoding member in OutputParams.h)