if( b_color )
{
utf8_fprintf( stdout, RED" %s:\n"GRAY, _( p_item->psz_text ) );
- if( b_description && p_item->psz_longtext )
+ if( b_description && p_item->psz_longtext && *p_item->psz_longtext )
utf8_fprintf( stdout, MAGENTA" %s\n"GRAY,
_( p_item->psz_longtext ) );
}
else
{
utf8_fprintf( stdout, " %s:\n", _( p_item->psz_text ) );
- if( b_description && p_item->psz_longtext )
+ if( b_description && p_item->psz_longtext && *p_item->psz_longtext )
utf8_fprintf( stdout, " %s\n", _( p_item->psz_longtext ) );
}
}
utf8_fprintf( stdout, "\n %s\n",
_( p_item->psz_text ) );
}
- if( b_description && p_item->psz_longtext )
+ if( b_description && p_item->psz_longtext
+ && *p_item->psz_longtext )
{
if( b_color )
utf8_fprintf( stdout, CYAN " %s\n" GRAY,
}
}
- if( b_description_hack && p_item->psz_longtext )
+ if( b_description_hack && p_item->psz_longtext
+ && *p_item->psz_longtext )
{
sprintf( psz_buffer, "%s%s", _( p_item->psz_longtext ),
psz_suf );