Merge pull request #1804 from ricpelo/ricpelo-patch-2

Wrong use of | instead of ||
This commit is contained in:
Juan Linietsky 2015-05-04 21:49:12 -03:00
commit dce8a6c251

View File

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