Fix cut and past error (reported by coverity)

This commit is contained in:
Juergen Spitzmueller 2024-09-07 12:39:45 +02:00
parent 35b832f344
commit 458f39cc43

View 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();
}