Commit df84649a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Assume X11 --forbar-shm is FALSE if the option does not exists

parent b373dac2
......@@ -2764,7 +2764,7 @@ static int InitDisplay( vout_thread_t *p_vout )
#ifdef HAVE_SYS_SHM_H
p_vout->p_sys->i_shm_opcode = 0;
if( config_GetInt( p_vout, MODULE_STRING "-shm" ) )
if( config_GetInt( p_vout, MODULE_STRING "-shm" ) > 0 )
{
int major, evt, err;
......
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