Skip to content

Commit

Permalink
Custom Capitalise JSON too
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed Nov 25, 2024
1 parent 881932b commit 37c175d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/utils/StringUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions include/ola/StringUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ void CapitalizeLabel(std::string *s);
* - ip
* - ipv4
* - ipv6
* - json
* - led
* - mdmx
* - rdm
Expand Down

0 comments on commit 37c175d

Please sign in to comment.