diff options
author | Matthias Kramm <kramm@quiss.org> | 2010-03-01 18:30:55 -0800 |
---|---|---|
committer | Matthias Kramm <kramm@quiss.org> | 2010-03-01 18:30:55 -0800 |
commit | a968c20b09662c779d3def862559913ca96bdab5 (patch) | |
tree | 835bb4335c53758cd26ab2a5c1dc60aa179bbb45 /lib/devices | |
parent | a725c3e28bafaf52cc45bdacf730b80edd83756d (diff) |
fixed trivial bug in record device
Diffstat (limited to 'lib/devices')
-rw-r--r-- | lib/devices/record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/devices/record.c b/lib/devices/record.c index c8e4ffeb..fad11897 100644 --- a/lib/devices/record.c +++ b/lib/devices/record.c @@ -669,7 +669,7 @@ void gfxdevice_record_flush(gfxdevice_t*dev, gfxdevice_t*out) { internal_t*i = (internal_t*)dev->internal; if(out) { - if(i->use_tempfile) { + if(!i->use_tempfile) { int len=0; void*data = writer_growmemwrite_memptr(&i->w, &len); reader_t r; |