From 2f8eafc40152ad19b48e49f7dd16c4508782a568 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 18 Nov 2001 09:25:19 +0000 Subject: [PATCH] fixjump didn't work if both arguments were identical. (used in tight loops) --- lib/modules/swfaction.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/modules/swfaction.c b/lib/modules/swfaction.c index aa2894a..53aab9c 100644 --- 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) -- 1.7.10.4