Skip to content

Commit 37c175d

Browse files
committed
Custom Capitalise JSON too
1 parent 881932b commit 37c175d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

common/utils/StringUtils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ void CustomCapitalizeLabel(string *s) {
494494
"ip",
495495
"ipv4", // Should really be IPv4 probably, but better than nothing
496496
"ipv6", // Should really be IPv6 probably, but better than nothing
497+
"json",
497498
"led",
498499
"mdmx", // City Theatrical, should really be mDMX, but better than nothing
499500
"pdl",

include/ola/StringUtils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ void CapitalizeLabel(std::string *s);
496496
* - ip
497497
* - ipv4
498498
* - ipv6
499+
* - json
499500
* - led
500501
* - mdmx
501502
* - rdm

0 commit comments

Comments
 (0)