]> git.lyx.org Git - features.git/commitdiff
Amend 464d6262: Forgot these
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 26 Oct 2019 22:17:01 +0000 (00:17 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 26 Oct 2019 22:17:27 +0000 (00:17 +0200)
src/Encoding.h

index 8e97b74138a4c978aef991e20474c129384e8123..df900b343b92058f8a43d3a32a205da083a94e8f 100644 (file)
@@ -93,9 +93,9 @@ public:
        /// TIPA shortcut
        std::string const tipashortcut() const { return tipashortcut_; }
        /// \c textcommand needs no termination (such as {} or space).
-       bool textnotermination() const { return flags_ & CharInfoTextNoTermination ? true : false; }
+       bool textnotermination() const { return flags_ & CharInfoTextNoTermination; }
        /// \c mathcommand needs no termination (such as {} or space).
-       bool mathnotermination() const { return flags_ & CharInfoMathNoTermination ? true : false; }
+       bool mathnotermination() const { return flags_ & CharInfoMathNoTermination; }
        ///
 private:
        /// LaTeX command (text mode) for this character