Fixed: IfActions not fired when measure is disabled

This commit is contained in:
Birunthan Mohanathas
2012-05-30 09:46:11 +03:00
parent 8fb0be30d4
commit 9623766a61
32 changed files with 125 additions and 214 deletions

View File

@ -91,10 +91,8 @@ void CMeasureTime::TimeToString(WCHAR* buf, size_t bufLen, const WCHAR* format,
** Updates the current time
**
*/
bool CMeasureTime::Update()
void CMeasureTime::UpdateValue()
{
if (!CMeasure::PreUpdate()) return false;
FILETIME ftUTCTime;
GetSystemTimeAsFileTime(&ftUTCTime);
@ -152,8 +150,6 @@ bool CMeasureTime::Update()
{
m_Value = (double)(m_Time.QuadPart / 10000000);
}
return PostUpdate();
}