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:
@@ -1741,6 +1741,8 @@ wxArrayString wxFileTranslationsLoader::GetAvailableTranslations(const wxString&
|
|||||||
i != prefixes.end();
|
i != prefixes.end();
|
||||||
++i )
|
++i )
|
||||||
{
|
{
|
||||||
|
if (i->length() == 0)
|
||||||
|
continue;
|
||||||
wxDir dir;
|
wxDir dir;
|
||||||
if ( !dir.Open(*i) )
|
if ( !dir.Open(*i) )
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user