* Fixes ticket #3068. DataTranslations accept timezone files as valid

translators.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35190 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Karsten Heimrich 2010-01-19 23:35:25 +00:00
parent 887d9b8b43
commit fb39cbd38b

View File

@ -131,8 +131,10 @@ DataTranslationsApplication::RefsReceived(BMessage* message)
int32 i = 0;
entry_ref ref;
while (message->FindRef("refs", i++, &ref) == B_OK) {
if (!roster->IsTranslator(&ref))
if (!roster->IsTranslator(&ref)) {
_NoTranslatorError(ref.name);
continue;
}
BEntry entry(&ref, true);
status = entry.InitCheck();