Fix for implicit conversion from char16_t to char32_t
This commit is contained in:
parent
a12e9d5c31
commit
f9d28fc02f
1 changed files with 1 additions and 1 deletions
|
|
@ -6289,7 +6289,7 @@ bool TextServerAdvanced::_shaped_text_update_justification_ops(const RID &p_shap
|
|||
// No data - use fallback.
|
||||
int limit = 0;
|
||||
for (int i = 0; i < sd->text.length(); i++) {
|
||||
if (is_whitespace(data[i])) {
|
||||
if (is_whitespace(sd->text[i])) {
|
||||
int ks = _generate_kashida_justification_opportunities(sd->text, limit, i) + sd->start;
|
||||
if (ks != -1) {
|
||||
sd->jstops[ks] = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue