warning level patch
Arnaud de Bossoreille de Ribou
bozo at via.ecp.fr
Sat May 18 16:39:30 CEST 2002
Unified version attached... (don't blame me :)
--
Arnaud
-------------- next part --------------
Index: src/misc/configuration.c
===================================================================
RCS file: /cvs/videolan/vlc/src/misc/configuration.c,v
retrieving revision 1.24
diff -u -r1.24 configuration.c
--- src/misc/configuration.c 2002/05/18 13:30:28 1.24
+++ src/misc/configuration.c 2002/05/18 14:38:09
@@ -994,7 +994,8 @@
if( b_ignore_errors ) free( ppsz_argv );
/* Update the warning level */
- p_main->i_warning_level += config_GetIntVariable( "warning" );
+ if( !p_main->i_warning_level )
+ p_main->i_warning_level += config_GetIntVariable( "warning" );
p_main->i_warning_level = ( p_main->i_warning_level < 0 ) ? 0 :
p_main->i_warning_level;
config_PutIntVariable( "warning", p_main->i_warning_level );
More information about the vlc-devel
mailing list