[LyX/master] Amend 464d6262: Forgot these

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sat Oct 26 22:03:53 UTC 2019


commit 69fca0df1a3b4d45f60e51bbfdafbfc18a668242
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Sun Oct 27 00:17:01 2019 +0200

    Amend 464d6262: Forgot these
---
 src/Encoding.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Encoding.h b/src/Encoding.h
index 8e97b74..df900b3 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


More information about the lyx-cvs mailing list