fix bad name variable

This commit is contained in:
Daniel T. Borelli 2014-01-04 02:22:09 -03:00
parent 90a295399d
commit d10992951b
2 changed files with 5 additions and 5 deletions

View File

@ -132,7 +132,7 @@ bool Director::init(void)
_paused = false;
// purge ?
_purgeDirecotorInNextLoop = false;
_purgeDirectorInNextLoop = false;
_winSizeInPoints = Size::ZERO;
@ -718,7 +718,7 @@ void Director::popToSceneStackLevel(int level)
void Director::end()
{
_purgeDirecotorInNextLoop = true;
_purgeDirectorInNextLoop = true;
}
void Director::purgeDirector()
@ -1077,9 +1077,9 @@ void DisplayLinkDirector::startAnimation()
void DisplayLinkDirector::mainLoop()
{
if (_purgeDirecotorInNextLoop)
if (_purgeDirectorInNextLoop)
{
_purgeDirecotorInNextLoop = false;
_purgeDirectorInNextLoop = false;
purgeDirector();
}
else if (! _invalid)

View File

@ -392,7 +392,7 @@ public:
protected:
void purgeDirector();
bool _purgeDirecotorInNextLoop; // this flag will be set to true in end()
bool _purgeDirectorInNextLoop; // this flag will be set to true in end()
void setNextScene();