Commit da4fc715 authored by Maxime Perrotin's avatar Maxime Perrotin

Handle _objXXX suffixes (compatibility with ultra-old models)

parent 4dd84ddf
......@@ -772,9 +772,10 @@ void Add_Binding(char *b)
/* Keep compatibility with 1.2 - remove objXXX suffix */
remove_objXXX_suffix (b, strlen(b));
size_t len = strlen (b);
len = remove_objXXX_suffix (b, len);
binding_name = make_string ("%s", b);
binding_name = make_string ("%.*s", len, b);
result_fv = FindFV(binding_name);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment