[549131] Fixed condition in Repeat FB
The condition in the Repeat FB made no sense. Fixed this bug.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=549131
Change-Id: Idcc46794e8ba38960df7e4df4283f47d95f79b74
Signed-off-by: Jan Holzweber <j.holzweber@gmx.at>
diff --git a/SystemTests/testfbforcodegenerator/BasicFBs/LoopREPEAT.fbt b/SystemTests/testfbforcodegenerator/BasicFBs/LoopREPEAT.fbt
index 6ab5062..3b43ca4 100644
--- a/SystemTests/testfbforcodegenerator/BasicFBs/LoopREPEAT.fbt
+++ b/SystemTests/testfbforcodegenerator/BasicFBs/LoopREPEAT.fbt
@@ -34,7 +34,7 @@
<ECTransition Comment="" Condition="1" Destination="START" Source="State" x="1840.0" y="770.0"/>
</ECC>
<Algorithm Comment="new algorithm" Name="REPEAT">
- <ST Text="REPEAT 	O := O+i; 	i:= i+1; UNTIL i < Iterations END_REPEAT;"/>
+ <ST Text="REPEAT 	O := O+i; 	i:= i+1; UNTIL Iterations < i END_REPEAT;"/>
</Algorithm>
</BasicFB>
</FBType>