Mixer: Don't allow ',' in OSC paths.

pull/3/head
Jonathan Moore Liles 2012-02-10 03:59:25 -08:00
parent 100b23d1fb
commit 0590687857
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ Module::Port::generate_osc_path ()
// Hack to keep spaces out of OSC URL... Probably need to handle other special characters similarly.
for ( int i = strlen( path ); i--; )
{
if ( path[i] == ' ' )
if ( path[i] == ' ' || path[i] == ',' )
path[i] = '_';
}