From 458f39cc4399cae3abaae17dbf100c380de48a57 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 7 Sep 2024 12:39:45 +0200 Subject: [PATCH] Fix cut and past error (reported by coverity) --- src/TextClass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextClass.cpp b/src/TextClass.cpp index d58bc28d55..f8b91fdfbc 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -1128,7 +1128,7 @@ bool TextClass::readCiteEngine(Lexer & lexrc, ReadType rt, bool const add) if (numerical) numerical = getCiteStyles(ENGINE_TYPE_NUMERICAL).empty(); if (notes) - numerical = getCiteStyles(ENGINE_TYPE_NOTES).empty(); + notes = getCiteStyles(ENGINE_TYPE_NOTES).empty(); if (defce) defce = getCiteStyles(ENGINE_TYPE_DEFAULT).empty(); } -- 2.39.5