summaryrefslogtreecommitdiff
path: root/src/libs
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-05-23 23:56:27 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-05-23 23:56:27 -0700
commit5016b0f4edc75666d0b73466281ce781cb0260ba (patch)
treed1e59556a865800d5fbc7c41f7966dfae463eedb /src/libs
parentcefe94062f9f3d9687be42277a5e9caf9db9af68 (diff)
*: silence some more clang parens warnings
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/txt/txt.c2
1 files changed, 1 insertions, 1 deletions
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++;
© All Rights Reserved