aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 420bc72..20a27d0 100644
--- a/main.c
+++ b/main.c
@@ -134,16 +134,16 @@ drawbar(double v)
{
struct {
Point2 p0, p1;
- } l = {
+ } bar = {
Pt2(-2,v,1),
Pt2(2,v,1)
};
char buf[32];
- line(screen, toscreen(l.p0), toscreen(l.p1), 0, 0, 0, display->white, ZP);
+ line(screen, toscreen(bar.p0), toscreen(bar.p1), 0, 0, 0, display->white, ZP);
snprint(buf, sizeof buf, "%.3f", v);
- l.p1.x += 10;
- string(screen, toscreen(l.p1), display->white, ZP, font, buf);
+ bar.p1.x += 10;
+ string(screen, toscreen(bar.p1), display->white, ZP, font, buf);
}
void