summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2022-06-02 15:45:43 +0000
committerChristos Zoulas <christos@zoulas.com>2022-06-02 15:45:43 +0000
commitea49efab4db1b7f7afc98251757d33f9a3d1b09f (patch)
treeee822f4e9e3773e9b39dda5e0f3f0b960373d6cb
parenta7cbc51d360f10189aca3f4aec1d736d730cf25c (diff)
downloadfile-git-ea49efab4db1b7f7afc98251757d33f9a3d1b09f.tar.gz
Remove extra paren (Andrei Dobrescu)
-rw-r--r--src/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file.c b/src/file.c
index 567b0d3d..5300e5af 100644
--- a/src/file.c
+++ b/src/file.c
@@ -32,7 +32,7 @@
#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: file.c,v 1.194 2022/05/28 01:04:57 christos Exp $")
+FILE_RCSID("@(#)$File: file.c,v 1.195 2022/06/02 15:45:43 christos Exp $")
#endif /* lint */
#include "magic.h"
@@ -606,7 +606,7 @@ file_mbswidth(struct magic_set *ms, const char *s)
#else
while (*s) {
width += (ms->flags & MAGIC_RAW) != 0
- || isprint(CAST(unsigned char, *s))) ? 1 : 4;
+ || isprint(CAST(unsigned char, *s)) ? 1 : 4;
}
return strlen(s);