# HG changeset patch # User arpi # Date 1035414806 0 # Node ID 0e5544951425d93787876e3e7df53387000fb4be # Parent 32eceb109114965908633c3bde235851da1e3b0d A small patch to Gui/interface.c; the first fix is a plain bug, the second is there as i think it's a pity that "-aop list=resample" doesn't work in gui mode. patch by Bj«Órn Sandell (checked & accepted by Pontscho) diff -r 32eceb109114 -r 0e5544951425 Gui/interface.c --- a/Gui/interface.c Wed Oct 23 23:12:09 2002 +0000 +++ b/Gui/interface.c Wed Oct 23 23:13:26 2002 +0000 @@ -86,7 +86,7 @@ void gset( char ** str,char * what ) { - if ( *str ) { if ( !strstr( *str,what ) ) gstrcat( str,"," ); gstrcat( str,what ); } + if ( *str ) { if ( !strstr( *str,what ) ) { gstrcat( str,"," ); gstrcat( str,what ); }} else gstrcat( str,what ); } @@ -541,7 +541,7 @@ // --- audio opts audio_delay=gtkAODelay; - if ( ao_plugin_cfg.plugin_list ) { free( ao_plugin_cfg.plugin_list ); ao_plugin_cfg.plugin_list=NULL; } +// if ( ao_plugin_cfg.plugin_list ) { free( ao_plugin_cfg.plugin_list ); ao_plugin_cfg.plugin_list=NULL; } if ( gtkAONorm ) gset( &ao_plugin_cfg.plugin_list,"volnorm" ); if ( gtkEnableAudioEqualizer ) gset( &ao_plugin_cfg.plugin_list,"eq" ); if ( gtkAOExtraStereo )