X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fswfc.c;h=fafa388df28b095ddfde30adbed6be8eb44e6f0d;hb=8a36aae086ac8f9ff6814fd0a2d8c5829b80594b;hp=ee868028f0498876952f8dc8983ee124d1578071;hpb=02c13264439ceeaee31c9a61a0ea99230945f663;p=swftools.git diff --git a/src/swfc.c b/src/swfc.c index ee86802..fafa388 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -817,7 +817,7 @@ TAG* removeFromTo(TAG*from, TAG*to) while(from!=to) { TAG*next = from->next; if(swf_isAllowedSpriteTag(from)) - swf_DeleteTag(from); + swf_DeleteTag(0, from); from = next; } save->next = 0; @@ -2418,7 +2418,7 @@ int parseTwip(char*str) char*p = str; int val = 0; char ex = 0; - char*lastpos = str; + char*lastpos = 0; while(*p) { if(*p == '+' || *p == '-' || *p == '/' || *p == '*') ex = *p;