summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bk_pdf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bk_pdf.c b/bk_pdf.c
index 319e8fb..bdce859 100644
--- a/bk_pdf.c
+++ b/bk_pdf.c
@@ -487,11 +487,6 @@ void pdf_backend(paragraph *sourceform, keywordlist *keywords,
rdaddsc(&rs, text);
if (o->stream.text) {
- char buf[100];
- sprintf(buf, "stream%06d", o->number);
- fp = fopen(buf, "wb");
- fwrite(o->stream.text, 1, o->stream.pos, fp);
- fclose(fp);
zcontext = deflate_compress_new(DEFLATE_TYPE_ZLIB);
deflate_compress_data(zcontext, o->stream.text, o->stream.pos,
DEFLATE_END_OF_DATA, &zbuf, &zlen);