From 064da876828ea3079d5d7be5849b693f4d55364b Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 13 Nov 2018 21:43:11 +0000 Subject: [PATCH] Adopt C99 bool in the grid.c API. More or less trivially: the only affected declaration is the has_incentre flag in struct grid_face. --- grid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grid.h b/grid.h index 26d0b16..7ca3ff1 100644 --- a/grid.h +++ b/grid.h @@ -50,7 +50,7 @@ struct grid_face { * grid_find_incentre() on a face, and it will fill in ix,iy below * and set has_incentre to indicate that it's done so. */ - int has_incentre; + bool has_incentre; int ix, iy; /* incentre (centre of largest inscribed circle) */ }; struct grid_edge {