fixed a spelling mistake

actorid
Marc Zinnschlag 12 years ago
parent 2cc20c67cb
commit b255472cc6

@ -53,7 +53,7 @@ namespace Interpreter
virtual void execute (Runtime& runtime, unsigned int arg0) virtual void execute (Runtime& runtime, unsigned int arg0)
{ {
if (arg0==0) if (arg0==0)
throw std::logic_error ("inifite loop"); throw std::logic_error ("infinite loop");
runtime.setPC (runtime.getPC()+arg0-1); runtime.setPC (runtime.getPC()+arg0-1);
} }
@ -66,7 +66,7 @@ namespace Interpreter
virtual void execute (Runtime& runtime, unsigned int arg0) virtual void execute (Runtime& runtime, unsigned int arg0)
{ {
if (arg0==0) if (arg0==0)
throw std::logic_error ("inifite loop"); throw std::logic_error ("infinite loop");
runtime.setPC (runtime.getPC()-arg0-1); runtime.setPC (runtime.getPC()-arg0-1);
} }

Loading…
Cancel
Save