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:
37a3dac
)
fixed blank frame bug.
author
kramm
<kramm>
Mon, 27 Sep 2004 09:59:20 +0000
(09:59 +0000)
committer
kramm
<kramm>
Mon, 27 Sep 2004 09:59:20 +0000
(09:59 +0000)
pdf2swf/swfoutput.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/swfoutput.cc
b/pdf2swf/swfoutput.cc
index
797488f
..
5d1c10f
100644
(file)
--- a/
pdf2swf/swfoutput.cc
+++ b/
pdf2swf/swfoutput.cc
@@
-1339,7
+1339,8
@@
static void endpage(struct swfoutput*obj)
static int firstpage = 1;
void swfoutput_newpage(struct swfoutput*obj, int pageNum, int x1, int y1, int x2, int y2)
{
static int firstpage = 1;
void swfoutput_newpage(struct swfoutput*obj, int pageNum, int x1, int y1, int x2, int y2)
{
- endpage(obj);
+ if(!firstpage)
+ endpage(obj);
for(depth--;depth>=startdepth;depth--) {
tag = swf_InsertTag(tag,ST_REMOVEOBJECT2);
for(depth--;depth>=startdepth;depth--) {
tag = swf_InsertTag(tag,ST_REMOVEOBJECT2);