Removed unnecessary assignments
This commit is contained in:
@@ -3898,11 +3898,9 @@ bool TextEdit::search(const String &p_key, uint32_t p_search_flags, int p_from_l
|
||||
|
||||
//search through the whole documment, but start by current line
|
||||
|
||||
int line = -1;
|
||||
int line = p_from_line;
|
||||
int pos = -1;
|
||||
|
||||
line = p_from_line;
|
||||
|
||||
for (int i = 0; i < text.size() + 1; i++) {
|
||||
//backwards is broken...
|
||||
//int idx=(p_search_flags&SEARCH_BACKWARDS)?(text.size()-i):i; //do backwards seearch
|
||||
|
||||
Reference in New Issue
Block a user