From 7bee91bf3880307889eb549f05d7f6619903e658 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 15 Jan 2022 10:16:01 -0800 Subject: [PATCH] lefty: use a C99 bool instead of int for 'innetscape' --- cmd/lefty/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/lefty/common.c b/cmd/lefty/common.c index 13c99b521..8a89b4b19 100644 --- a/cmd/lefty/common.c +++ b/cmd/lefty/common.c @@ -21,7 +21,7 @@ static size_t leftypathlen; jmp_buf exitljbuf; int idlerunmode; fd_set inputfds; -static int innetscape; +static bool innetscape; static char *nswin; #ifndef FEATURE_MS @@ -87,7 +87,7 @@ int init (char *aout) { c = 0; if (getenv ("INNETSCAPE")) - innetscape = TRUE, nswin = getenv ("NSWIN"); + innetscape = true, nswin = getenv ("NSWIN"); if (!(pathp = malloc (PATHINCR * PATHSIZE))) panic1 (POS, "init", "pathp malloc failed"); if (!(cmdp = malloc (CMDINCR * CMDSIZE))) -- 2.40.0