aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-23 20:24:45 +0000
committerDavid Robillard <d@drobilla.net>2011-01-23 20:24:45 +0000
commitce6f8d7f4e9680fe8660b0b8309c45ca1d6b5a22 (patch)
treec41315a52ccf4d0e97eea8edd63487110f9d1831
parent0993d312cb18131de8aa5a73eda65305f8f7899b (diff)
downloadserd-ce6f8d7f4e9680fe8660b0b8309c45ca1d6b5a22.tar.gz
serd-ce6f8d7f4e9680fe8660b0b8309c45ca1d6b5a22.tar.bz2
serd-ce6f8d7f4e9680fe8660b0b8309c45ca1d6b5a22.zip
Fix build (oops).
git-svn-id: http://svn.drobilla.net/serd/trunk@51 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r--src/writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/writer.c b/src/writer.c
index 85d20deb..194d26dd 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -86,7 +86,7 @@ write_text(SerdWriter writer, TextContext ctx,
if ((in & 0x80) == 0) { // Starts with `0'
size = 1;
c = in & 0x7F;
- if (in_range((in >= 0x20) && (in <= 0x7E)) { // Printable ASCII
+ if (in_range(in, 0x20, 0x7E)) { // Printable ASCII
writer->sink(&in, 1, writer->stream);
continue;
}