Fixed typo caused crash.

This commit is contained in:
vng 2014-04-07 18:52:15 +03:00 committed by Alex Zolotarev
parent a3fd61b629
commit 96b520ce75

View file

@ -507,7 +507,7 @@ void Navigator::StartMomentScaleReseter()
void Navigator::KillMomentScaleReseter()
{
if (m_reseterTask == NULL)
if (m_reseterTask)
m_reseterTask->CancelBlocking();
}