Don't pass NULL to wxDir, rather hop over when trying to find dir with translation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2010-07-16 10:31:38 +00:00
parent c5895661ca
commit 1662942c27

View File

@ -1741,6 +1741,8 @@ wxArrayString wxFileTranslationsLoader::GetAvailableTranslations(const wxString&
i != prefixes.end();
++i )
{
if (i->length() == 0)
continue;
wxDir dir;
if ( !dir.Open(*i) )
continue;