linux fixes

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-03 17:59:35 -07:00
parent cbfdf99a9e
commit e28602dbbb
42 changed files with 186 additions and 225 deletions
@@ -143,11 +143,11 @@ void CTrackEventTrack::GetKeyInfo(int key, const char*& description, float& dura
CheckValid();
description = 0;
duration = 0;
azstrcpy(desc, m_keys[key].event.c_str());
azstrcpy(desc, AZ_ARRAY_SIZE(desc), m_keys[key].event.c_str());
if (!m_keys[key].eventValue.empty())
{
azstrcat(desc, ", ");
azstrcat(desc, m_keys[key].eventValue.c_str());
azstrcat(desc, AZ_ARRAY_SIZE(desc), ", ");
azstrcat(desc, AZ_ARRAY_SIZE(desc), m_keys[key].eventValue.c_str());
}
description = desc;