@@ -18,7 +18,7 @@ substitutions:
|
|||||||
temp_units: "°C"
|
temp_units: "°C"
|
||||||
invalid_cooldown: "100ms"
|
invalid_cooldown: "100ms"
|
||||||
##### DON'T CHANGE THIS ######
|
##### DON'T CHANGE THIS ######
|
||||||
version: "4.3.0"
|
version: "4.3.1d1"
|
||||||
##############################
|
##############################
|
||||||
|
|
||||||
##### External components #####
|
##### External components #####
|
||||||
@@ -808,7 +808,7 @@ api:
|
|||||||
// Iterate over each character in the string
|
// Iterate over each character in the string
|
||||||
for (char const &c: value) {
|
for (char const &c: value) {
|
||||||
// Check if character is a space or other specified exceptions
|
// Check if character is a space or other specified exceptions
|
||||||
if (std::string(" iljtIf'-,;:!.\"|()[]{}").find(c) != std::string::npos) {
|
if (display_charset->state == 2 or std::string(" iljtIf'-,;:!.\"|()[]{}").find(c) != std::string::npos) {
|
||||||
adjusted_length += 0.5; // Count these as half
|
adjusted_length += 0.5; // Count these as half
|
||||||
} else {
|
} else {
|
||||||
adjusted_length += 1.0; // Count all other characters as 1
|
adjusted_length += 1.0; // Count all other characters as 1
|
||||||
|
|||||||
Reference in New Issue
Block a user