Fixed crash when !EnableMeasure generates error log message.

This commit is contained in:
spx 2012-02-15 07:24:48 +00:00
parent 6fec1dc759
commit 71402a8d48

View File

@ -1285,7 +1285,7 @@ void CMeterWindow::EnableMeasure(const std::wstring& name, bool group)
}
}
if (!group) LogWithArgs(LOG_ERROR, L"!EnableMeasure: [%s] not found in \"%s\"", name, m_SkinName.c_str());
if (!group) LogWithArgs(LOG_ERROR, L"!EnableMeasure: [%s] not found in \"%s\"", measure, m_SkinName.c_str());
}
/*