commit f42f68f2ca26b9f8761abd14f81a46446f82c028
Author: Georg Baum <[email protected]>
Date:   Thu Aug 14 22:00:51 2025 +0200

    tex2lyx: Add missing initialization.
    
    This was missing in aea597ffe5c4.
    
    The effect was a failing test test/box-color-size-space-align.tex
    only in some cases (likely depending on compiler/build environment etc).
    See #13183 for details.
---
 src/tex2lyx/Context.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tex2lyx/Context.h b/src/tex2lyx/Context.h
index 511a1aac83..8ead098a57 100644
--- a/src/tex2lyx/Context.h
+++ b/src/tex2lyx/Context.h
@@ -189,9 +189,9 @@ public:
        ///
        char cell_align;
        /// Are we in a custom (ERT) environment
-       bool in_custom_environment;
+       bool in_custom_environment = false;
        /// Do we have custom (ERT) environments with multiple paragraphs?
-       bool has_custom_mp_environment;
+       bool has_custom_mp_environment = false;
        ///
        std::string current_table_bordercolor;
        ///
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to