if( !psz_parser )
{
psz_parser = psz_string;
- asprintf( &psz_string, (*psz_string) ? "%s,%s" : "%s%s",
+ asprintf( &psz_string, (*psz_string) ? "%s:%s" : "%s%s",
psz_string, psz_name );
free( psz_parser );
}
if( psz_parser )
{
memmove( psz_parser, psz_parser + strlen(psz_name) +
- (*(psz_parser + strlen(psz_name)) == ',' ? 1 : 0 ),
+ (*(psz_parser + strlen(psz_name)) == ':' ? 1 : 0 ),
strlen(psz_parser + strlen(psz_name)) + 1 );
/* Remove trailing : : */
- if( *(psz_string+strlen(psz_string ) -1 ) == ',' )
+ if( *(psz_string+strlen(psz_string ) -1 ) == ':' )
{
*(psz_string+strlen(psz_string ) -1 ) = '\0';
}
if( !psz_parser )
{
psz_parser = psz_string;
- asprintf( &psz_string, (*psz_string) ? "%s,%s" : "%s%s",
+ asprintf( &psz_string, (*psz_string) ? "%s:%s" : "%s%s",
psz_string, psz_name );
free( psz_parser );
}
if( psz_parser )
{
memmove( psz_parser, psz_parser + strlen(psz_name) +
- (*(psz_parser + strlen(psz_name)) == ',' ? 1 : 0 ),
+ (*(psz_parser + strlen(psz_name)) == ':' ? 1 : 0 ),
strlen(psz_parser + strlen(psz_name)) + 1 );
- if( *(psz_string+strlen(psz_string ) -1 ) == ',' )
+ if( *(psz_string+strlen(psz_string ) -1 ) == ':' )
{
*(psz_string+strlen(psz_string ) -1 ) = '\0';
}
if( b_waschecked )
{
/* Maybe not the clest solution */
- if( ! newtext.Replace(wxString(wxT(","))
+ if( ! newtext.Replace(wxString(wxT(":"))
+wxU(pp_checkboxes[i]->psz_module),
wxT("")))
{
if( ! newtext.Replace(wxString(wxU(pp_checkboxes[i]->psz_module))
- + wxT(","),wxT("")))
+ + wxT(":"),wxT("")))
{
newtext.Replace(wxU(pp_checkboxes[i]->psz_module),wxU(""));
}
}
else
{
- newtext += wxU( "," );
+ newtext += wxU( ":" );
newtext += wxU(pp_checkboxes[i]->psz_module);
}
}
{
psz_filters = (char *)realloc( psz_filters, strlen( psz_filters ) +
strlen( psz_visual ) + 1);
- sprintf( psz_filters, "%s,%s", psz_filters, psz_visual );
+ sprintf( psz_filters, "%s:%s", psz_filters, psz_visual );
}
else if( psz_visual && *psz_visual )
{
break;
}
- while( *psz_parser == ' ' && *psz_parser == ',' )
+ while( *psz_parser == ' ' && *psz_parser == ':' )
{
psz_parser++;
}
- if( ( psz_next = strchr( psz_parser , ',' ) ) )
+ if( ( psz_next = strchr( psz_parser , ':' ) ) )
{
*psz_next++ = '\0';
}
if( !psz_parser )
{
psz_parser = val.psz_string;
- asprintf( &val.psz_string, (*val.psz_string) ? "%s,%s" : "%s%s",
+ asprintf( &val.psz_string, (*val.psz_string) ? "%s:%s" : "%s%s",
val.psz_string, psz_name );
free( psz_parser );
}
if( psz_parser )
{
memmove( psz_parser, psz_parser + strlen(psz_name) +
- (*(psz_parser + strlen(psz_name)) == ',' ? 1 : 0 ),
+ (*(psz_parser + strlen(psz_name)) == ':' ? 1 : 0 ),
strlen(psz_parser + strlen(psz_name)) + 1 );
}
else
/* continue the parent's filter chain */
char *psz_end;
- psz_end = strchr( ((vout_thread_t *)p_parent)->psz_filter_chain, ',' );
+ psz_end = strchr( ((vout_thread_t *)p_parent)->psz_filter_chain, ':' );
if( psz_end && *(psz_end+1) )
p_vout->psz_filter_chain = strdup( psz_end+1 );
else p_vout->psz_filter_chain = NULL;
* colons */
char *psz_end;
- psz_end = strchr( p_vout->psz_filter_chain, ',' );
+ psz_end = strchr( p_vout->psz_filter_chain, ':' );
if( psz_end )
psz_plugin = strndup( p_vout->psz_filter_chain,
psz_end - p_vout->psz_filter_chain );
if( psz_deinterlace )
{
char *psz_src = psz_deinterlace + sizeof("deinterlace") - 1;
- if( psz_src[0] == ',' ) psz_src++;
+ if( psz_src[0] == ':' ) psz_src++;
memmove( psz_deinterlace, psz_src, strlen(psz_src) + 1 );
}
}
else if( !psz_deinterlace )
{
psz_filter = realloc( psz_filter, strlen( psz_filter ) +
- sizeof(",deinterlace") );
- if( psz_filter && *psz_filter ) strcat( psz_filter, "," );
+ sizeof(":deinterlace") );
+ if( psz_filter && *psz_filter ) strcat( psz_filter, ":" );
strcat( psz_filter, "deinterlace" );
}
psz_filter = psz_filter_orig = val.psz_string;
while( psz_filter && *psz_filter )
{
- char *psz_parser = strchr( psz_filter, ',' );
- if( !psz_parser ) psz_parser = strchr( psz_filter, ':' );
+ char *psz_parser = strchr( psz_filter, ':' );
if( psz_parser ) *psz_parser++ = 0;