commit 7d3d07ff401e15a5e7c5027f717129eb728cb4be
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Wed Jan 15 15:19:38 2020 +0100

    Fixup eeb4187a: copy-paste errors
---
 src/insets/InsetCollapsible.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetCollapsible.cpp b/src/insets/InsetCollapsible.cpp
index 09e5f3d..67d19ca 100644
--- a/src/insets/InsetCollapsible.cpp
+++ b/src/insets/InsetCollapsible.cpp
@@ -172,9 +172,10 @@ int InsetCollapsible::bottomOffset(BufferView const * bv) 
const
 {
        switch (geometry(*bv)) {
        case Corners:
-               return InsetText::topOffset(bv) / 4;
+       case SubLabel:
+               return InsetText::bottomOffset(bv) / 4;
        default:
-               return InsetText::topOffset(bv);
+               return InsetText::bottomOffset(bv);
        }
 }
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to