Commit f678aa83 authored by Rémi Duraffort's avatar Rémi Duraffort

Simplify code.

parent 36fd3e1b
......@@ -671,12 +671,12 @@ static char *EsOutProgramGetMetaName( es_out_pgrm_t *p_pgrm )
if( p_pgrm->psz_name )
{
if( asprintf( &psz, _("%s [%s %d]"), p_pgrm->psz_name, _("Program"), p_pgrm->i_id ) == -1 )
psz = NULL;
return NULL;
}
else
{
if( asprintf( &psz, "%s %d", _("Program"), p_pgrm->i_id ) == -1 )
psz = NULL;
return NULL;
}
return psz;
}
......
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