diff options
Diffstat (limited to 'plugins/eg-params.lv2/state_map.h')
-rw-r--r-- | plugins/eg-params.lv2/state_map.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/eg-params.lv2/state_map.h b/plugins/eg-params.lv2/state_map.h index 740f0af..9e7b63e 100644 --- a/plugins/eg-params.lv2/state_map.h +++ b/plugins/eg-params.lv2/state_map.h @@ -36,9 +36,12 @@ state_map_cmp(const void* a, const void* b) const StateMapItem* kb = (const StateMapItem*)b; if (ka->urid < kb->urid) { return -1; - } else if (kb->urid < ka->urid) { + } + + if (kb->urid < ka->urid) { return 1; } + return 0; } |