Преглед изворни кода

Fix for implicit conversion from char16_t to char32_t

patwork пре 4 месеци
родитељ
комит
f9d28fc02f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/text_server_adv/text_server_adv.cpp

+ 1 - 1
modules/text_server_adv/text_server_adv.cpp

@@ -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;