1
0
Fork 0

Use the precalculated bypass parameter hash

This commit is contained in:
Robbert van der Helm 2022-01-28 14:52:04 +01:00
parent 3064132821
commit 38bcf33a50

View file

@ -306,7 +306,7 @@ impl<P: Plugin> IEditController for Wrapper<P> {
let info = &mut *info;
if param_index == self.param_hashes.len() as i32 {
info.id = hash_param_id(BYPASS_PARAM_ID);
info.id = *BYPASS_PARAM_HASH;
u16strlcpy(&mut info.title, "Bypass");
u16strlcpy(&mut info.short_title, "Bypass");
u16strlcpy(&mut info.units, "");