Merge pull request #64346 from firefly2442/patch-1

This commit is contained in:
Rémi Verschelde 2022-08-24 14:36:07 +02:00 committed by GitHub
commit 96194628df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1628,7 +1628,7 @@ TypedArray<Vector2i> TextServer::parse_structured_text(StructuredTextParser p_pa
ret.push_back(Vector2i(prev, i)); ret.push_back(Vector2i(prev, i));
ret.push_back(Vector2i(i, i + 1)); ret.push_back(Vector2i(i, i + 1));
prev = i + 1; prev = i + 1;
} else if (!local & (p_text[i] == '.')) { // Add each dot separated "domain" part as context. } else if (!local && (p_text[i] == '.')) { // Add each dot separated "domain" part as context.
if (prev != i) { if (prev != i) {
ret.push_back(Vector2i(prev, i)); ret.push_back(Vector2i(prev, i));
} }