From eee37cd44b7d3cdfe26796d654bc88b125b1678c Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 1 Apr 2019 11:26:39 +0000 Subject: [PATCH] .cosmetics git-svn-id: svn://ultimatepp.org/upp/trunk@12934 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Draw/Cham.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uppsrc/Draw/Cham.cpp b/uppsrc/Draw/Cham.cpp index 4f60a615e..c936ff636 100644 --- a/uppsrc/Draw/Cham.cpp +++ b/uppsrc/Draw/Cham.cpp @@ -123,7 +123,7 @@ struct sChBorder { }; Value ChBorder(const ColorF *colors, const Value& face) -{ +{ // adds border to face value sChBorder b; b.border = colors; b.face = face; @@ -155,6 +155,7 @@ Value StdChLookFn(Draw& w, const Rect& r, const Value& v, int op) switch(op) { case LOOK_PAINT: ChPaint(w, r.Deflated(n), b.face); + // fall through - need to paint border now case LOOK_PAINTEDGE: DrawBorder(w, r, b.border); return 0;