2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00

Fix for ComponentMgr not showing anything. Make the ini file error more accurate as well.

This commit is contained in:
2011-04-16 15:55:06 -04:00
parent 45c6a4bd6b
commit aeeec0b013
2 changed files with 8 additions and 2 deletions

View File

@ -87,8 +87,14 @@ int IDescCompare(ClassDesc *desc1, ClassDesc *desc2);
void plComponentMgr::Register(ClassDesc *desc)
{
// Organize desc's by category and name
// No descs? Go ahead and push it to the back...
if (fDescs.size() == 0)
{
fDescs.push_back(desc);
return;
}
// Organize desc's by category and name
std::vector<ClassDesc*>::iterator it;
for (it = fDescs.begin(); it != fDescs.end(); it++)
{

View File

@ -203,7 +203,7 @@ DWORD PlasmaMax::Start()
const char* pathTemp = plMaxConfig::GetClientPath(false, true);
if (pathTemp == nil)
{
hsMessageBox("PlasmaMAX2.ini is missing the Client Path", "Error", hsMessageBoxNormal);
hsMessageBox("PlasmaMAX2.ini is missing or invalid", "Plasma/2.0 Error", hsMessageBoxNormal);
}
else
{