[LyX/master] Error message
Richard Kimberly Heck
rikiheck at lyx.org
Tue Sep 29 02:18:39 UTC 2020
commit a41bcb3701ad0026054a7ce5e95ca090dc6132d6
Author: Richard Kimberly Heck <rikiheck at lyx.org>
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:");
More information about the lyx-cvs
mailing list