X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FEncoding.h;h=df900b343b92058f8a43d3a32a205da083a94e8f;hb=59e3ff27ffde4f7ac54cc4849c537f9f15dd3d8f;hp=8e97b74138a4c978aef991e20474c129384e8123;hpb=464d6262b17dfd8c8db6ca32b94ac230668cba52;p=lyx.git diff --git a/src/Encoding.h b/src/Encoding.h index 8e97b74138..df900b343b 100644 --- a/src/Encoding.h +++ b/src/Encoding.h @@ -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