summaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render.c b/render.c
index 09e79fd..bfb7107 100644
--- a/render.c
+++ b/render.c
@@ -604,7 +604,7 @@ void cText2SkinRender::DrawProgressbar(const txPoint &Pos, const txSize &Size, i
const cMark *m2 = Marks->Next(m);
DrawRectangle(txPoint(pt.x, Pos.y + Size.h / 3),
txSize(((m2 ? m2->position : Total) - m->position)
- * Size.w / Total, Size.h - Size.h * 2 / 3), Selected);
+ * Size.w / Total + 1, Size.h - Size.h * 2 / 3 + 1), Selected);
}
DrawMark(pt, Size, start, m->position == Current, false, Mark, Cur);
start = !start;
@@ -620,9 +620,9 @@ void cText2SkinRender::DrawProgressbar(const txPoint &Pos, const txSize &Size, i
if (Selected && start) {
const cMark *m2 = Marks->Next(m);
DrawRectangle(txPoint(Pos.x + Size.w / 3, pt.y),
- txSize(Size.w - Size.w * 2 / 3,
+ txSize(Size.w - Size.w * 2 / 3 + 1,
((m2 ? m2->position : Total) - m->position)
- * Size.h / Total), Selected);
+ * Size.h / Total + 1), Selected);
}
DrawMark(pt, Size, start, m->position == Current, true, Mark, Cur);
start = !start;