Commit 71f5b5d4 authored by Christophe Massiot's avatar Christophe Massiot

* dvblast.c: Coding style + restore backwards compatibility.

parent 2e73611c
......@@ -195,10 +195,10 @@ static void ReadConfiguration( char *psz_file )
psz_token = strtok_r( NULL, "\t\n ", &psz_parser );
if ( psz_token == NULL )
continue;
if( atoi( psz_token ) )
i_config |= OUTPUT_WATCH;
if( atoi( psz_token ) == 1 )
i_config |= OUTPUT_WATCH;
else
i_config &= ~OUTPUT_WATCH;
i_config &= ~OUTPUT_WATCH;
psz_token = strtok_r( NULL, "\t\n ", &psz_parser );
if ( psz_token == NULL )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment