linux fixes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -69,11 +69,11 @@ void CEventTrack::GetKeyInfo(int key, const char*& description, float& duration)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user