commit a41bcb3701ad0026054a7ce5e95ca090dc6132d6
Author: Richard Kimberly Heck <[email protected]>
Date: Mon Sep 28 22:45:44 2020 -0400
Error message
---
src/Layout.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/Layout.cpp b/src/Layout.cpp
index f3dfa4a..01c4f16 100644
--- a/src/Layout.cpp
+++ b/src/Layout.cpp
@@ -1151,8 +1151,10 @@ void Layout::readSpacing(Lexer & lex)
void Layout::readArgument(Lexer & lex, bool validating)
{
- if (!lex.next())
+ if (!lex.next()) {
+ LYXERR0("Unable to read argument ID!");
return;
+ }
string const id = lex.getString();
bool const itemarg = prefixIs(id, "item:");
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs