aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/UCatCovers.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-11-17 16:21:03 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-11-17 16:21:03 +0000
commitdf0a8e7c62a4006ea7ac66ad7c0745a48a32ef24 (patch)
treed7bee1767d392e8c67e4eae39c2b80a12f9b106a /src/base/UCatCovers.pas
parent61eaa45ee2bf7fc1d91faae3d10f3e093e3bc42c (diff)
downloadusdx-df0a8e7c62a4006ea7ac66ad7c0745a48a32ef24.tar.gz
usdx-df0a8e7c62a4006ea7ac66ad7c0745a48a32ef24.tar.xz
usdx-df0a8e7c62a4006ea7ac66ad7c0745a48a32ef24.zip
implemented suggestions by Canni from Assembla ticket #85
artist sorting replaced by artist2 title sorting replaced by title2 new sorting artist2 (suggestions for a better name?!) all songs by the same artist are put into the same category named by the artist git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1945 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/base/UCatCovers.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/UCatCovers.pas b/src/base/UCatCovers.pas
index 6e004b22..d33bbbe1 100644
--- a/src/base/UCatCovers.pas
+++ b/src/base/UCatCovers.pas
@@ -134,9 +134,9 @@ begin
for I := 0 to high(ISorting) do
begin
TmpName := Name;
- if ((I = sTitle) or (I = sTitle2)) and (UTF8Pos('Title', TmpName) <> 0) then
+ if (I = sTitle) and (UTF8Pos('Title', TmpName) <> 0) then
UTF8Delete(TmpName, UTF8Pos('Title', TmpName), 5)
- else if (I = sArtist) or (I = sArtist2) and (UTF8Pos('Artist', TmpName) <> 0) then
+ else if (I = sArtist) and (UTF8Pos('Artist', TmpName) <> 0) then
UTF8Delete(TmpName, UTF8Pos('Artist', TmpName), 6);
if not CoverExists(I, TmpName) then