X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a49b09f5afab79ffb5a483ecb4be4c4abf4d3531..a5655d37db9baabce654849fd66173f95f74e230:/src/common/translation.cpp diff --git a/src/common/translation.cpp b/src/common/translation.cpp index 23b57a056c..c6bb8440e0 100644 --- a/src/common/translation.cpp +++ b/src/common/translation.cpp @@ -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;