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:
56b6a8d
)
fixjump didn't work if both arguments were identical. (used in tight loops)
author
kramm
<kramm>
Sun, 18 Nov 2001 09:25:19 +0000
(09:25 +0000)
committer
kramm
<kramm>
Sun, 18 Nov 2001 09:25:19 +0000
(09:25 +0000)
lib/modules/swfaction.c
patch
|
blob
|
history
diff --git
a/lib/modules/swfaction.c
b/lib/modules/swfaction.c
index
aa2894a
..
53aab9c
100644
(file)
--- a/
lib/modules/swfaction.c
+++ b/
lib/modules/swfaction.c
@@
-598,13
+598,12
@@
void action_fixjump(ActionMarker m1, ActionMarker m2)
int len = 0;
int oplen = 0;
a = a1;
+
+ a = a->next; //first one is free
while(a && a!=a2)
{
- if(a != a1) //first one is for free
- {
- len += ActionTagSize(a);
- oplen ++;
- }
+ len += ActionTagSize(a);
+ oplen ++;
a = a->next;
}
if(!a)