commit ae398b16c295672bdd53069b8d873c8b46de8ca7
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Sun Jun 22 18:24:12 2025 +0200

    Proper fallthrough comment
    
    (prevent compiler warning)
---
 src/insets/InsetText.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp
index a914bbf1bd..4aa8dbbb16 100644
--- a/src/insets/InsetText.cpp
+++ b/src/insets/InsetText.cpp
@@ -426,8 +426,7 @@ bool InsetText::getStatus(Cursor & cur, FuncRequest const & 
cmd,
                                            to_utf8("math" + 
ltrim(cmd.argument(), "\\")))));
                        return true;
                }
-               // let else go down to default
-
+       // fall through
        default:
                // Dispatch only to text_ if the cursor is inside
                // the text_. It is not for context menus (bug 5797).
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to