commit 458f39cc4399cae3abaae17dbf100c380de48a57
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Sat Sep 7 12:39:45 2024 +0200

    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();
        }
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to