summaryrefslogtreecommitdiff
path: root/lib/devices
diff options
context:
space:
mode:
authorMatthias Kramm <kramm@quiss.org>2010-03-01 18:30:55 -0800
committerMatthias Kramm <kramm@quiss.org>2010-03-01 18:30:55 -0800
commita968c20b09662c779d3def862559913ca96bdab5 (patch)
tree835bb4335c53758cd26ab2a5c1dc60aa179bbb45 /lib/devices
parenta725c3e28bafaf52cc45bdacf730b80edd83756d (diff)
fixed trivial bug in record device
Diffstat (limited to 'lib/devices')
-rw-r--r--lib/devices/record.c2
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;