.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@12934 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-04-01 11:26:39 +00:00
parent cd358093b0
commit eee37cd44b

View file

@ -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;