]> git.lyx.org Git - lyx.git/commitdiff
Fix cut and past error (reported by coverity)
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 7 Sep 2024 10:39:45 +0000 (12:39 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 7 Sep 2024 10:39:45 +0000 (12:39 +0200)
src/TextClass.cpp

index d58bc28d55ec968736fa428bb0c488c99a804968..f8b91fdfbcc0c5265489c39ea18e7c0312c2fbed 100644 (file)
@@ -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();
        }