We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dce5606 + eacce38 commit 8bcd9bbCopy full SHA for 8bcd9bb
include/st_string.h
@@ -1070,8 +1070,8 @@ namespace ST
1070
{
1071
if (utf8)
1072
result = to_utf8();
1073
-
1074
- result = to_latin_1(substitute_out_of_range);
+ else
+ result = to_latin_1(substitute_out_of_range);
1075
}
1076
1077
ST_DEPRECATED_IN_3_0("use to_buffer(char_buffer &, bool, bool) instead")
@@ -1080,8 +1080,8 @@ namespace ST
1080
1081
1082
1083
1084
- result = to_latin_1(validation == substitute_invalid);
+ result = to_latin_1(validation == substitute_invalid);
1085
1086
1087
void to_buffer(utf16_buffer &result) const
0 commit comments