From 82d22a52894b75113b0dc5f938eea467ab37343a Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 8 Aug 2017 22:26:58 +0100 Subject: [PATCH] It's the future: C has a boolean type. --- bedstead.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bedstead.c b/bedstead.c index f34f14d..47b9469 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1978,14 +1978,15 @@ emit_contour(point *p0) static void emit_path() { - int i, started = 0; + int i; point *p, *p1; + bool started = false; for (i = 0; i < nextpoint; i++) { p = &points[i]; if (p->next) { if (!started) printf("Fore\nSplineSet\n"); - started = 1; + started = true; emit_contour(p); } } -- 2.30.2