summaryrefslogtreecommitdiffstats
path: root/stream.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-12-02 19:25:21 -0800
committerKaz Kylheku <kaz@kylheku.com>2013-12-02 19:25:21 -0800
commitb00d0ecc4bb4e881f675af2cead432ae99e98180 (patch)
tree9bec77756322d4f5887418a8d7c24a80363cc8a7 /stream.c
parent4c6209c7cceac38a0ce852d3d0990a6f098be87a (diff)
downloadtxr-b00d0ecc4bb4e881f675af2cead432ae99e98180.tar.gz
txr-b00d0ecc4bb4e881f675af2cead432ae99e98180.tar.bz2
txr-b00d0ecc4bb4e881f675af2cead432ae99e98180.zip
* stream.c (stdio_set_prop): Fix reversed boolean.
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.c b/stream.c
index b401c911..549ad244 100644
--- a/stream.c
+++ b/stream.c
@@ -241,7 +241,7 @@ static val stdio_set_prop(val stream, val ind, val prop)
{
if (ind == real_time_k) {
struct stdio_handle *h = (struct stdio_handle *) stream->co.handle;
- h->is_real_time = prop ? 0 : 1;
+ h->is_real_time = prop ? 1 : 0;
return t;
}
return nil;