浏览代码

Fix typo.

mingodad 10 年之前
父节点
当前提交
5e38207b7f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SquiLu/squirrel/sqcompiler.cpp

+ 1 - 1
SquiLu/squirrel/sqcompiler.cpp

@@ -337,7 +337,7 @@ public:
 	void MoveIfCurrentTargetIsLocal() {
 	void MoveIfCurrentTargetIsLocal() {
 		SQInteger trg = _fs->TopTarget();
 		SQInteger trg = _fs->TopTarget();
 		if(_fs->IsLocal(trg)) {
 		if(_fs->IsLocal(trg)) {
-			trg = _fs->PopTarget(); //no pops the target and move it
+			trg = _fs->PopTarget(); //pops the target and moves it
 			_fs->AddInstruction(_OP_MOVE, _fs->PushTarget(), trg);
 			_fs->AddInstruction(_OP_MOVE, _fs->PushTarget(), trg);
 		}
 		}
 	}
 	}