Permalink
Browse files

Correct a typo where the wrong variable was being used

  • Loading branch information...
1 parent 0208700 commit 8c2a2d74aa87d387cb4f7cd0b0a155d359c8e5a6 @atrodo committed Feb 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 core.c
View
2 core.c
@@ -590,7 +590,7 @@ core_exec(Lorito_Interp *interp)
src1->args_cnt++;
break;
case OP_STR: ;
- lorito_push_arg(interp, ctx, lorito_box_str_new(interp, $S(op->src2)));
+ lorito_push_arg(interp, src1, lorito_box_str_new(interp, $S(op->src2)));
break;
case OP_INT: ;
src1->args[src1->args_cnt] = lorito_box_int_new(interp, $I(op->src2));

0 comments on commit 8c2a2d7

Please sign in to comment.