diff options
Diffstat (limited to 'mfd/prog.c')
-rw-r--r-- | mfd/prog.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1488,7 +1488,7 @@ instr_result(eval_environ_t env) | |||
1488 | char *message; | 1488 | char *message; |
1489 | 1489 | ||
1490 | get_string_arg(env, 0, &message); | 1490 | get_string_arg(env, 2, &message); |
1491 | get_literal(env, 1, (const char**)&code); | 1491 | get_string_arg(env, 1, &xcode); |
1492 | get_literal(env, 2, (const char**)&xcode); | 1492 | get_string_arg(env, 0, &code); |
1493 | 1493 | ||
1494 | if (PROG_TRACE_ENGINE) | 1494 | if (PROG_TRACE_ENGINE) |
@@ -1514,6 +1514,6 @@ instr_result(eval_environ_t env) | |||
1514 | env->status = status; | 1514 | env->status = status; |
1515 | env->setreply(env->data, code, xcode, message); | 1515 | env->setreply(env->data, code, xcode, message); |
1516 | advance_pc(env, 3); | 1516 | advance_pc(env, 1); |
1517 | adjust_stack(env, 1); | 1517 | adjust_stack(env, 3); |
1518 | } | 1518 | } |
1519 | 1519 | ||