commit 747afa36cdf89fd5d0451ba2555fdb96e7c6a69d
Author: Richard Kimberly Heck <[email protected]>
Date:   Wed Jul 8 23:52:39 2020 -0400

    Best to use braces when there are comments.
---
 src/BufferParams.cpp |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index 0d098fe..4ed8b4e 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -2648,11 +2648,13 @@ FormatList const & BufferParams::exportableFormats(bool 
only_viewable) const
        if (useNonTeXFonts) {
                excludes.insert("latex");
                excludes.insert("pdflatex");
-       } else if (inputenc != "ascii" && inputenc != "utf8-plain")
+       } else if (inputenc != "ascii" && inputenc != "utf8-plain") {
                  // XeTeX with TeX fonts requires input encoding ascii 
(#10600).
                  excludes.insert("xetex");
-       FormatList result = theConverters().getReachable(backs[0], 
only_viewable,
-                                                                               
                         true, excludes);
+       }
+
+       FormatList result =
+               theConverters().getReachable(backs[0], only_viewable, true, 
excludes);
        vector<string>::const_iterator it = backs.begin() + 1;
        for (; it != backs.end(); ++it) {
                FormatList r = theConverters().getReachable(*it, only_viewable,
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to