Skip to content

Commit

Permalink
[7_6] bin/format
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Dec 10, 2023
1 parent 0c938b1 commit 53bbdc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Data/Tree/tree_search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,11 @@ search_string (range_set& sel, string s, tree what, path p) {
string source= (case_insensitive_match_flag) ? locase_all (s) : s;

if (is_atomic (what)) {
string w = what->label;
string w= what->label;
if (is_empty (w)) {
return;
}
int pos= 0;
int pos= 0;
while (pos < N (s)) {
int next= tm_search_forwards (w, pos, source);
if (next < 0 || next >= N (s)) break;
Expand Down

0 comments on commit 53bbdc1

Please sign in to comment.