]> git.lyx.org Git - lyx.git/blobdiff - src/Encoding.h
Fixup tooltips
[lyx.git] / 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