#include <vlc_cpu.h>
#include <vlc_url.h>
#include <vlc_atomic.h>
+#include <vlc_modules.h>
#include "libvlc.h"
#ifdef WIN32 /* Pause the console because it's destroyed when we exit */
PauseConsole();
#endif
+ fflush( stdout );
}
/*****************************************************************************
{
utf8_fprintf( stdout, RED" %s:\n"GRAY,
module_gettext( m, p_item->psz_text ) );
- if( b_description && p_item->psz_longtext && *p_item->psz_longtext )
+ if( b_description && p_item->psz_longtext )
utf8_fprintf( stdout, MAGENTA" %s\n"GRAY,
module_gettext( m, p_item->psz_longtext ) );
}
{
utf8_fprintf( stdout, " %s:\n",
module_gettext( m, p_item->psz_text ) );
- if( b_description && p_item->psz_longtext && *p_item->psz_longtext )
+ if( b_description && p_item->psz_longtext )
utf8_fprintf( stdout, " %s\n",
module_gettext(m, p_item->psz_longtext ) );
}
utf8_fprintf( stdout, "\n %s\n",
module_gettext( p_parser, p_item->psz_text ) );
}
- if( b_description && p_item->psz_longtext
- && *p_item->psz_longtext )
+ if( b_description && p_item->psz_longtext )
{
if( b_color )
utf8_fprintf( stdout, CYAN " %s\n" GRAY,
}
}
- if( b_description_hack && p_item->psz_longtext
- && *p_item->psz_longtext )
+ if( b_description_hack && p_item->psz_longtext )
{
sprintf( psz_buffer, "%s%s",
module_gettext( p_parser, p_item->psz_longtext ),