Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2011-06-14 19:31:59 +02:00
parent 5c47e96d79
commit 7adc1ec629
3 changed files with 5 additions and 3 deletions

View file

@ -4484,8 +4484,9 @@ bool CCharacterCL::isCurrentBehaviourAttackEnd() const
case MBEHAV::AREA_ATTACK: case MBEHAV::AREA_ATTACK:
return true; return true;
default: default:
return false; break;
} }
return false;
} }

View file

@ -3540,7 +3540,8 @@ int CGroupHTML::luaShowDiv(CLuaState &ls)
CLuaIHM::checkArgType(ls, funcName, 1, LUA_TSTRING); CLuaIHM::checkArgType(ls, funcName, 1, LUA_TSTRING);
CLuaIHM::checkArgType(ls, funcName, 2, LUA_TBOOLEAN); CLuaIHM::checkArgType(ls, funcName, 2, LUA_TBOOLEAN);
if (!_Groups.empty()) { if (!_Groups.empty())
{
for (uint i=0; i<_Groups.size(); i++) for (uint i=0; i<_Groups.size(); i++)
{ {
CInterfaceGroup *group = _Groups[i]; CInterfaceGroup *group = _Groups[i];

View file

@ -1390,7 +1390,7 @@ void CInterfaceManager::runActionHandler (const string &ahCmdLine, CCtrlBase *pC
if(!ahUserParams.empty()) if(!ahUserParams.empty())
ahParams= ahUserParams; ahParams= ahUserParams;
// Execute the action hanlder // Execute the action handler
CActionHandlerFactoryManager *pAHFM = CActionHandlerFactoryManager::getInstance(); CActionHandlerFactoryManager *pAHFM = CActionHandlerFactoryManager::getInstance();
map<string, IActionHandler*>::iterator it = pAHFM->FactoryMap.find (ahName); map<string, IActionHandler*>::iterator it = pAHFM->FactoryMap.find (ahName);
if (it == pAHFM->FactoryMap.end()) if (it == pAHFM->FactoryMap.end())