Wrong use of | instead of ||
This commit is contained in:
parent
af06843982
commit
f3542ff838
1 changed files with 2 additions and 2 deletions
|
@ -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--;
|
||||
|
|
Loading…
Reference in a new issue