commit 707046263d529f8ca4cef626b1c2fca2d9fd053f Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Sat Mar 1 21:38:26 2025 +0100
Fix cut-and-paste error spotted by Coverity Scan --- src/tex2lyx/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index b6a36e758d..f5ac43e988 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -1302,7 +1302,7 @@ void parse_box(Parser & p, ostream & os, unsigned outer_flags, // check the case that a standard color is used if (is_known(background_color, known_basic_colors)) { backgroundcolor = background_color; - } else if (is_known(frame_color, known_basic_xcolors)) { + } else if (is_known(background_color, known_basic_xcolors)) { backgroundcolor = background_color; preamble.registerAutomaticallyLoadedPackage("xcolor"); // With xcolor, svgnames colors get priority with clashing names -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs