git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a725c3e
)
fixed trivial bug in record device
author
Matthias Kramm
<kramm@quiss.org>
Tue, 2 Mar 2010 02:30:55 +0000
(18:30 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Tue, 2 Mar 2010 02:30:55 +0000
(18:30 -0800)
lib/devices/record.c
patch
|
blob
|
history
diff --git
a/lib/devices/record.c
b/lib/devices/record.c
index
c8e4ffe
..
fad1189
100644
(file)
--- 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;