You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Wrong use of | instead of ||
This commit is contained in:
@@ -489,7 +489,7 @@ void TextEdit::_notification(int p_what) {
|
||||
|
||||
CharType cc = text[i][j];
|
||||
//ignore any brackets inside a string
|
||||
if (cc== '"' | cc == '\'') {
|
||||
if (cc== '"' || cc == '\'') {
|
||||
CharType quotation = cc;
|
||||
do {
|
||||
j++;
|
||||
@@ -560,7 +560,7 @@ void TextEdit::_notification(int p_what) {
|
||||
|
||||
CharType cc = text[i][j];
|
||||
//ignore any brackets inside a string
|
||||
if (cc== '"' | cc == '\'') {
|
||||
if (cc== '"' || cc == '\'') {
|
||||
CharType quotation = cc;
|
||||
do {
|
||||
j--;
|
||||
|
||||
Reference in New Issue
Block a user