vlc_linux/vlc-3.0.16/modules/gui/qt/menus.cpp
/** HACK for the navigation submenu:
 * "title %2u" variables take the value 0 if not set
 */
HACK for the navigation submenu:
"title %2u" variables take the value 0 if not set
HACK for the navigation submenu : " title %2u " variables take the value 0 if not set
static bool CheckTitle( vlc_object_t *p_object, const char *psz_var )
{
    unsigned i_title = 0;
    if( sscanf( psz_var, "title %2u", &i_title ) <= 0 )
        return true;
    unsigned i_current_title = var_GetInteger( p_object, "title" );
    return ( i_title == i_current_title );
}
static bool CheckTitle ( vlc_object_t * p_object , const char * psz_var ) { unsigned i_title = 0 ; if ( sscanf ( psz_var , " " , & i_title ) <= 0 ) return true ; unsigned i_current_title = var_GetInteger ( p_object , " " ) ; return ( i_title == i_current_title ) ; }
HACK for the navigation submenu:
 "title %2u" variables take the value 0 if not set
HACK for the navigation submenu : " title %2u " variables take the value 0 if not set