warning level patch

Arnaud de Bossoreille de Ribou bozo at via.ecp.fr
Sat May 18 16:37:24 CEST 2002


Here is a patch to avoid the addition of the saved warning level and the
number of 'v' given in the command line. So if people save a level of 12
they can go back to 2 by typing 'vlc -vv' (instead of 14).

-- 
Arnaud
-------------- next part --------------
Index: src/misc/configuration.c
===================================================================
RCS file: /cvs/videolan/vlc/src/misc/configuration.c,v
retrieving revision 1.24
diff -r1.24 configuration.c
997c997,998
<     p_main->i_warning_level += config_GetIntVariable( "warning" );
---
>     if( !p_main->i_warning_level )
>         p_main->i_warning_level += config_GetIntVariable( "warning" );


More information about the vlc-devel mailing list