Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Fix track sorting behaviour for strings that start the same but one i…
Browse files Browse the repository at this point in the history
…s longer than the other
  • Loading branch information
jdennis9 committed Jul 1, 2024
1 parent 480fb37 commit 1fbe252
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/tracklist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ static int compare_strings_case_insensitive(const char *a, const char *b) {
return 1;
}

if (*a) return 1;
if (*b) return -1;
return 0;
}

Expand Down

0 comments on commit 1fbe252

Please sign in to comment.