commit 2424851b0988bd099b4775563d380d064fc8e527
Author: Enrico Forestieri <[email protected]>
Date: Sun May 19 16:34:57 2019 +0200
Fix compilation
This amends [b88a3747/lyxgit].
---
src/Cursor.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Cursor.cpp b/src/Cursor.cpp
index 50d0a22..4e0dfb2 100644
--- a/src/Cursor.cpp
+++ b/src/Cursor.cpp
@@ -1762,7 +1762,7 @@ bool Cursor::macroModeClose(bool cancel)
// we have to resolve the macro here manually and check its
arity
// to put the selection behind it if arity > 0.
MacroData const * data =
buffer()->getMacro(atomAsMacro->name());
- if (!selection.empty() && data && data->numargs() {
+ if (!selection.empty() && data && data->numargs()) {
macroArg = true;
atomAsMacro->setDisplayMode(InsetMathMacro::DISPLAY_INTERACTIVE_INIT, 1);
} else