From 37c175d6dac0d35238d68647377c6b6b7cf7b233 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Mon, 25 Nov 2024 00:22:20 +0000 Subject: [PATCH] Custom Capitalise JSON too --- common/utils/StringUtils.cpp | 1 + include/ola/StringUtils.h | 1 + 2 files changed, 2 insertions(+) diff --git a/common/utils/StringUtils.cpp b/common/utils/StringUtils.cpp index 79d8ad14c..ff2fd0c6d 100644 --- a/common/utils/StringUtils.cpp +++ b/common/utils/StringUtils.cpp @@ -494,6 +494,7 @@ void CustomCapitalizeLabel(string *s) { "ip", "ipv4", // Should really be IPv4 probably, but better than nothing "ipv6", // Should really be IPv6 probably, but better than nothing + "json", "led", "mdmx", // City Theatrical, should really be mDMX, but better than nothing "pdl", diff --git a/include/ola/StringUtils.h b/include/ola/StringUtils.h index 2fc85c73a..557ecd71b 100644 --- a/include/ola/StringUtils.h +++ b/include/ola/StringUtils.h @@ -496,6 +496,7 @@ void CapitalizeLabel(std::string *s); * - ip * - ipv4 * - ipv6 + * - json * - led * - mdmx * - rdm