Moved to OJI.
Added AWT support. Added some classes git-svn-id: svn://10.0.0.236/trunk@47982 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -56,13 +56,14 @@ nsresult PlugletsDir::GetPluglet(const char * mimeType, Pluglet **pluglet) {
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
}
|
||||
*pluglet = NULL;
|
||||
nsresult res = NS_OK;
|
||||
nsresult res = NS_ERROR_FAILURE;
|
||||
if(!list) {
|
||||
LoadPluglets();
|
||||
}
|
||||
for (PlugletListIterator *iter = list->GetIterator();iter->Get();iter->Next()) {
|
||||
if(iter->Get()->Compare(mimeType)) {
|
||||
*pluglet = iter->Get();
|
||||
res = NS_OK;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user