[LyX/master] return from switch
Juergen Spitzmueller
spitz at lyx.org
Sun May 17 11:37:01 UTC 2020
commit 602ac1401e84201ccf8f8b0afa57c3e408302103
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sun May 17 13:57:31 2020 +0200
return from switch
we don't break in this switch
---
src/Changes.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Changes.cpp b/src/Changes.cpp
index a579144..63bb021 100644
--- a/src/Changes.cpp
+++ b/src/Changes.cpp
@@ -588,7 +588,7 @@ void Change::paintCue(PainterInfo & pi, double const x1, double const y1,
return;
case INSERTED: {
if (!lyxrc.ct_additions_underlined)
- break;
+ return;
pi.pain.line(int(x1), int(y2) + 1, int(x2), int(y2) + 1,
color(), Painter::line_solid,
pi.base.solidLineThickness());
More information about the lyx-cvs
mailing list