Fix typo in enent

This commit is contained in:
malc 2012-02-19 06:08:42 +04:00
parent 5e531950f9
commit c57d1d299b

View file

@ -37,7 +37,7 @@ let enent s pos len =
| '&' -> Buffer.add_string b "&"
| c ->
let code = Char.code c in
if code < 32 || code = 127
if code < 32 || code > 127
then (
Buffer.add_string b "&#";
Buffer.add_string b (string_of_int code);