From 5f5b284c0bddbe67de14b2d2bfb596bc7ba1298a Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 13 Nov 2018 21:45:44 +0000 Subject: Use C99 bool within source modules. This is the main bulk of this boolification work, but although it's making the largest actual change, it should also be the least disruptive to anyone interacting with this code base downstream of me, because it doesn't modify any interface between modules: all the inter-module APIs were updated one by one in the previous commits. This just cleans up the code within each individual source file to use bool in place of int where I think that makes things clearer. --- ps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ps.c') diff --git a/ps.c b/ps.c index 9be55e6..94a7086 100644 --- a/ps.c +++ b/ps.c @@ -13,9 +13,9 @@ struct psdata { FILE *fp; - int colour; + bool colour; int ytop; - int clipped; + bool clipped; float hatchthick, hatchspace; int gamewidth, gameheight; drawing *drawing; -- cgit v1.1