From 33dd9b65eae2e92428ee7f5b2455de076322d8a3 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sat, 17 Aug 2019 00:26:13 +0100 Subject: [PATCH] st/oxr: Don't pad systemName with a lot of padding This was a thinko by me and just plain wrong. --- src/xrt/state_trackers/oxr/oxr_system.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrt/state_trackers/oxr/oxr_system.c b/src/xrt/state_trackers/oxr/oxr_system.c index bd194e5e8..adc2a50ed 100644 --- a/src/xrt/state_trackers/oxr/oxr_system.c +++ b/src/xrt/state_trackers/oxr/oxr_system.c @@ -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