aewl
diff draw.c @ 600:ad94ffdfd9ba
removing the -1 on final indicators, looks cleaner
author | arg@mig29 |
---|---|
date | Fri, 01 Dec 2006 12:39:13 +0100 |
parents | a21891491770 |
children | bfea29f1e4a4 |
line diff
1.1 --- a/draw.c Fri Dec 01 12:25:23 2006 +0100 1.2 +++ b/draw.c Fri Dec 01 12:39:13 2006 +0100 1.3 @@ -82,10 +82,10 @@ 1.4 } 1.5 if(border) { 1.6 pt[0].x = dc.x; 1.7 - pt[0].y = dc.y + dc.h - 1; 1.8 + pt[0].y = dc.y + dc.h; 1.9 pt[1].x = 0; 1.10 - pt[1].y = -(dc.h - 1); 1.11 - pt[2].x = dc.w - 1; 1.12 + pt[1].y = -dc.h; 1.13 + pt[2].x = dc.w; 1.14 pt[2].y = 0; 1.15 XDrawLines(dpy, dc.drawable, dc.gc, pt, 3, CoordModePrevious); 1.16 }