diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-24 14:36:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 14:36:07 +0200 |
commit | 96194628dfa5a2d6059e82663a233c5cfb228a4d (patch) | |
tree | c447085951b79c3a5d79a44510d3d1cd2192df25 | |
parent | 0626ce50cfd35d1eb81c6c9627f8540be9636b4b (diff) | |
parent | 2b93f447392ce3e67675d29cf50cc83488a470c3 (diff) |
Merge pull request #64346 from firefly2442/patch-1
-rw-r--r-- | servers/text_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/text_server.cpp b/servers/text_server.cpp index 75712d0c5a..7570143b43 100644 --- a/servers/text_server.cpp +++ b/servers/text_server.cpp @@ -1628,7 +1628,7 @@ TypedArray<Vector2i> TextServer::parse_structured_text(StructuredTextParser p_pa ret.push_back(Vector2i(prev, i)); ret.push_back(Vector2i(i, 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) { ret.push_back(Vector2i(prev, i)); } |