don't filter languages

This commit is contained in:
Glenn Maynard
2008-04-07 23:23:42 +00:00
parent 51f7c6b3b1
commit 92156e2990
+1 -10
View File
@@ -555,16 +555,7 @@ static const LanguageInfo g_langs[] =
void GetLanguageInfos( vector<const LanguageInfo*> &vAddTo )
{
for( unsigned i=0; i<ARRAYLEN(g_langs); ++i )
{
// Only use languages in the intersection of Windows languages
// and languages that had native forms on the site listed above.
// Obscure languages are dropped so that they don't clutter up the
// smtools UI.
if( g_langs[i].szNativeName == RString() )
continue;
vAddTo.push_back( &g_langs[i] );
}
vAddTo = g_langs;
}
const LanguageInfo *GetLanguageInfo( const RString &sIsoCode )