]> git.sesse.net Git - vlc/commitdiff
score is cached, so it's not a good idea to have it depens of the environement
authorChristophe Mutricy <xtophe@videolan.org>
Thu, 12 Apr 2007 15:04:31 +0000 (15:04 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Thu, 12 Apr 2007 15:04:31 +0000 (15:04 +0000)
modules/gui/wxwidgets/wxwidgets.cpp

index 5529e78c1295bbcc2a36cb33e2a1def553a57799..f89709af096eb713579d37c66f346356f2903346 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 );