projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5c750e4
)
Simplify comparison
author
Ricardo Mones
<ricardo@mones.org>
Thu, 4 Oct 2018 13:49:07 +0000
(15:49 +0200)
committer
Ricardo Mones
<ricardo@mones.org>
Thu, 4 Oct 2018 13:49:07 +0000
(15:49 +0200)
and keep Coverity happy.
src/entity.c
patch
|
blob
|
history
diff --git
a/src/entity.c
b/src/entity.c
index fcf4c2801350845a08625a3193beab95601cd9d0..058c3aa3d5aa588281aeb72dc261c51f1b8bf698 100644
(file)
--- 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");