score is cached, so it's not a good idea to have it depens of the environement
[vlc.git] / modules / gui / wxwidgets / wxwidgets.cpp
index 5529e78..f89709a 100644 (file)
@@ -115,11 +115,7 @@ static char *psz_playlist_views[] = { N_("Normal" ), N_("Embedded" ) ,
                                       N_("Both") };
 
 vlc_module_begin();
-#ifdef WIN32
     int i_score = 150;
-#else
-    int i_score = getenv( "DISPLAY" ) == NULL ? 15 : 150;
-#endif
     set_shortname( (char*) "wxWidgets" );
     set_description( (char *) _("wxWidgets interface module") );
     set_category( CAT_INTERFACE );