X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fswfoutput.cc;h=9624d2d79ceff68c5e5394bce5d34db69c8d4f67;hb=98cd8ccfb030f47413d9e1b0d89e7870aea42c16;hp=ccc4c1b9ab428e4f82c31432da69bbf2d11774ad;hpb=03d718c8194c19d04e481354fe1d3db499626b2c;p=swftools.git diff --git a/pdf2swf/swfoutput.cc b/pdf2swf/swfoutput.cc index ccc4c1b..9624d2d 100644 --- a/pdf2swf/swfoutput.cc +++ b/pdf2swf/swfoutput.cc @@ -1032,7 +1032,7 @@ void swfoutput_linktourl(struct swfoutput*obj, char*url, swfcoord*points) if(textid>=0) endtext(); - actions = swf_ActionStart(tag); + actions = swf_ActionStart(); if(opennewwindow) action_GetUrl(url, "_parent"); else @@ -1051,7 +1051,7 @@ void swfoutput_linktopage(struct swfoutput*obj, int page, swfcoord*points) if(textid>=0) endtext(); - actions = swf_ActionStart(tag); + actions = swf_ActionStart(); action_GotoFrame(page); action_End(); swf_ActionEnd(); @@ -1074,10 +1074,10 @@ void drawlink(struct swfoutput*obj, ActionTAG*actions, swfcoord*points) int buttonid = ++currentswfid; for(t=1;t<4;t++) { - if(points[t].x>xmax) xmax=points[t].x; - if(points[t].y>ymax) ymax=points[t].y; - if(points[t].xxmax) xmax=points[t].x; + if(points[t].y>ymax) ymax=points[t].y; + if(points[t].x