projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify comparison
[claws.git]
/
src
/
entity.c
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");