From 5016b0f4edc75666d0b73466281ce781cb0260ba Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 23 May 2022 23:56:27 -0700 Subject: *: silence some more clang parens warnings --- src/libs/txt/txt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs') diff --git a/src/libs/txt/txt.c b/src/libs/txt/txt.c index e1923b9..e5eeec6 100644 --- a/src/libs/txt/txt.c +++ b/src/libs/txt/txt.c @@ -24,7 +24,7 @@ static void measure_str(const char *str, int *res_width, int *res_height) assert(res_width); assert(res_height); - while (c = *str) { + while ((c = *str)) { switch (c) { case ' '...'~': col++; -- cgit v1.2.3