]> git.lyx.org Git - lyx.git/blobdiff - src/Changes.cpp
DocBook: eat a bit of that spaghetti code.
[lyx.git] / src / Changes.cpp
index a579144a7a1f875b8e6fb60bfb22043017d8d582..63bb021efeced935b10f40282b3e6527f1e84656 100644 (file)
@@ -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());