summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mixlib/xmix_vm.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/mixlib/xmix_vm.c b/mixlib/xmix_vm.c
index d304745..e614cb4 100644
--- a/mixlib/xmix_vm.c
+++ b/mixlib/xmix_vm.c
@@ -337,13 +337,12 @@ jrd_handler_(mix_vm_t *vm, const mix_ins_t *ins)
g_assert(ins->opcode == mix_opJRED);
g_return_val_if_fail (ins->fspec < BD_NO_, TRUE);
g_return_val_if_fail (get_dev_ (vm, ins->fspec) != NULL, TRUE);
- if ( mix_device_busy (get_dev_ (vm, ins->fspec)) )
- inc_loc_ (vm);
- else {
- set_rJ_(vm, get_loc_(vm));
- set_loc_ (vm, get_M_ (vm, ins));
- }
-
+ inc_loc_ (vm);
+ if ( !mix_device_busy (get_dev_ (vm, ins->fspec)) )
+ {
+ set_rJ_(vm, get_loc_(vm));
+ set_loc_ (vm, get_M_ (vm, ins));
+ }
return TRUE;
}