aboutsummaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-23 10:46:53 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-23 10:46:53 +0100
commit6a701319a47ff5950f4ca918e744cf1fba088869 (patch)
tree27ad10bd8aa80318922bf400e519884cc9e5a0f6 /vm.h
parenteeb9547fe5c6b61ca9b31877b26d07a6af0f05c2 (diff)
downloadvm.lv2-6a701319a47ff5950f4ca918e744cf1fba088869.tar.xz
fix vm:opNop.
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/vm.h b/vm.h
index e7d1364..81f0c8d 100644
--- a/vm.h
+++ b/vm.h
@@ -945,9 +945,7 @@ vm_deserialize(vm_api_impl_t *impl, LV2_Atom_Forge *forge,
break;
}
- cmd += 1;
-
- if(cmd >= cmds + ITEMS_MAX)
+ if(++cmd >= cmds + ITEMS_MAX)
break;
}