talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit b983c7d3c93781cd5472ba183d02a197dbaa7694
parent 86f514dcf52de8e23e30b1b8d4b513327590f94d
Author: Ricardo Mones <ricardo@mones.org>
Date:   Thu,  4 Oct 2018 15:49:07 +0200

Simplify comparison

and keep Coverity happy.

Diffstat:
Msrc/entity.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/entity.c b/src/entity.c @@ -357,7 +357,7 @@ static gchar *entity_decode_numeric(gchar *str) if (strlen(b) > 0) c = g_ascii_strtoll (b, NULL, (hex ? 16 : 10)); - if (c >= 0 && c <= 31) + if (c < 32) /* An unprintable character; return the Unicode replacement symbol */ return g_strdup("\xef\xbf\xbd");