st/oxr: Don't pad systemName with a lot of padding

This was a thinko by me and just plain wrong.
This commit is contained in:
Jakob Bornecrantz 2019-08-17 00:26:13 +01:00
parent e824b83112
commit 33dd9b65ea

View file

@ -182,8 +182,8 @@ oxr_system_get_properties(struct oxr_logger *log,
// Needed to silence the warnings.
const char *name = sys->head->name;
snprintf(properties->systemName, XR_MAX_SYSTEM_NAME_SIZE,
"Monado: %*.s", 247, name);
snprintf(properties->systemName, XR_MAX_SYSTEM_NAME_SIZE, "Monado: %s",
name);
/*!
* @todo conforming implementations must support at