Skip to content

Commit

Permalink
Merge branch 'mpd-2100-nested-and' of https://github.com/m7a/mpd
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Aug 30, 2024
2 parents ed755f0 + 6db4b81 commit a3a0728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/song/Filter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ SongFilter::ParseExpression(const char *&s, bool fold_case)
if (*s == '(') {
auto first = ParseExpression(s, fold_case);
if (*s == ')') {
++s;
s = StripLeft(s + 1);
return first;
}

Expand All @@ -340,7 +340,7 @@ SongFilter::ParseExpression(const char *&s, bool fold_case)
and_filter->AddItem(ParseExpression(s, fold_case));

if (*s == ')') {
++s;
s = StripLeft(s + 1);
return and_filter;
}

Expand Down

0 comments on commit a3a0728

Please sign in to comment.