commit 4aa49e432bbe520fcd6ace4281cbbd1830ca50a0 parent 710f0d4b21c307cf2781ae327740f2952d441f82 Author: Alexandre Bique <bique.alexandre@gmail.com> Date: Mon, 11 Jul 2022 23:29:29 +0200 Make the enum start at 0 Diffstat:
M | include/clap/ext/draft/state-context.h | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/clap/ext/draft/state-context.h b/include/clap/ext/draft/state-context.h @@ -19,10 +19,10 @@ static CLAP_CONSTEXPR const char CLAP_EXT_STATE_CONTEXT[] = "clap.state-context. enum clap_plugin_state_context_type { // suitable for duplicating a plugin instance - CLAP_STATE_CONTEXT_FOR_DUPLICATE = 1, + CLAP_STATE_CONTEXT_FOR_DUPLICATE = 0, // suitable for loading a state as a preset - CLAP_STATE_CONTEXT_FOR_PRESET = 2, + CLAP_STATE_CONTEXT_FOR_PRESET = 1, }; typedef struct clap_plugin_state_context {