Fixed some Lua related issues.

Removed some internal functions from exposed functions for Lua.
Code cleanup and optimizing for VC2010.
This commit is contained in:
spx
2011-02-15 13:22:19 +00:00
parent b01465a20a
commit 1ba57f2adf
37 changed files with 754 additions and 1127 deletions

View File

@ -116,7 +116,7 @@ bool CMeasureTime::Update()
if (m_Format.size() > 0)
{
// If there is some date format, parse the value from it instead
WCHAR tmpSz[MAX_LINE_LENGTH];
WCHAR* tmpSz = new WCHAR[MAX_LINE_LENGTH];
SYSTEMTIME sysToday;
FILETIME ftToday;
@ -152,6 +152,8 @@ bool CMeasureTime::Update()
}
m_Value = wcstod(tmpSz, NULL);
delete [] tmpSz;
}
else
{