Browse Source

forgotten init

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7384 8c9fc860-2736-0410-a75d-ab315db34111
felixf 7 years ago
parent
commit
3a798237a8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      source/FoxDisassembler.Mod

+ 1 - 0
source/FoxDisassembler.Mod

@@ -56,6 +56,7 @@ TYPE
 			END;
 			IF b = NIL THEN 
 				(* try to find any matching section *)
+				b := first;
 				WHILE (b # NIL) & ((adr < b.alignment-offset) OR (adr > b.to - offset))  DO
 					b := b.next;
 				END;