Mixer: Fix osc/midi by-number mode control for strips with names containing punctuation and spaces.

pull/119/merge
Jonathan Moore Liles 2020-09-24 23:16:27 -07:00
parent 9b87c089d0
commit 5affbe4cef
1 changed files with 7 additions and 1 deletions

View File

@ -621,8 +621,14 @@ Mixer::osc_strip_by_number ( const char *path, const char *types, lo_arg **argv,
}
char *new_path;
char *stripname = escape_url( o->name() );
asprintf( &new_path, "%s/strip/%s/%s", client_name, o->name(), rem );
asprintf( &new_path, "%s/strip/%s/%s", client_name, stripname, rem );
free( stripname );
/* DMESSAGE( "Forwarding by-number OSC path: %s === %s", path, new_path ); */
free( rem );