removing the -1 on final indicators, looks cleaner
c34e4e4b
1 file(s) · +3 −3
| 82 | 82 | } |
|
| 83 | 83 | if(border) { |
|
| 84 | 84 | pt[0].x = dc.x; |
|
| 85 | - | pt[0].y = dc.y + dc.h - 1; |
|
| 85 | + | pt[0].y = dc.y + dc.h; |
|
| 86 | 86 | pt[1].x = 0; |
|
| 87 | - | pt[1].y = -(dc.h - 1); |
|
| 88 | - | pt[2].x = dc.w - 1; |
|
| 87 | + | pt[1].y = -dc.h; |
|
| 88 | + | pt[2].x = dc.w; |
|
| 89 | 89 | pt[2].y = 0; |
|
| 90 | 90 | XDrawLines(dpy, dc.drawable, dc.gc, pt, 3, CoordModePrevious); |
|
| 91 | 91 | } |