summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-07-11 09:25:58 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-07-12 13:47:42 (GMT)
commit726acc96a098927e84ecd781f6ecd3043b8f4a2d (patch)
treeffcc60be4f8ed91e64ffb5afd58d1829f1e7af69 /src/interface.c
parent52b4473f0f1bba1fbf0bed28b21b80145b65809d (diff)
downloadpowder-726acc96a098927e84ecd781f6ecd3043b8f4a2d.zip
powder-726acc96a098927e84ecd781f6ecd3043b8f4a2d.tar.gz
Fix line/box erase for decor layer
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface.c b/src/interface.c
index 923a8d0..64a8991 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -5063,9 +5063,9 @@ unsigned int decorations_ui(pixel *vid_buf,int *bsx,int *bsy, unsigned int saved
if (lb && lm) //lm is box/line tool
{
if (lm == 1)//line
- line_decorations(lx, ly, mx, my, *bsx, *bsy, cr, cg, cb, b);
+ line_decorations(lx, ly, mx, my, *bsx, *bsy, cr, cg, cb, lb);
else//box
- box_decorations(lx, ly, mx, my, cr, cg, cb, b);
+ box_decorations(lx, ly, mx, my, cr, cg, cb, lb);
lm = 0;
}
lb = 0;