aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-08 19:45:14 +0000
committers_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-08 19:45:14 +0000
commit9b312c379c3674e68374704a84e0926d51239584 (patch)
tree0de7cd4bdcc2668106256d8695b618e8bad610aa
parent24c8e13594e6bfd8fdf835b915c834de8894334d (diff)
downloadusdx-9b312c379c3674e68374704a84e0926d51239584.tar.gz
usdx-9b312c379c3674e68374704a84e0926d51239584.tar.xz
usdx-9b312c379c3674e68374704a84e0926d51239584.zip
removed if to enable folder cover loading
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2004 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/screens/UScreenSong.pas11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/screens/UScreenSong.pas b/src/screens/UScreenSong.pas
index c2afbfe1..bd5eebe5 100644
--- a/src/screens/UScreenSong.pas
+++ b/src/screens/UScreenSong.pas
@@ -940,15 +940,8 @@ begin
Song := CatSongs.Song[I];
- if not Song.Main then
- begin // to-do : load category covers again...
- // just a workaround to fic folders=on for the moment...
- // if cover-image is not found then show 'no cover'
- CoverFile := Song.Path.Append(Song.Cover);
- if (not CoverFile.IsFile()) then
- Song.Cover := PATH_NONE;
- end
- else
+ CoverFile := Song.Path.Append(Song.Cover);
+ if (not CoverFile.IsFile()) then
Song.Cover := PATH_NONE;
if (Song.Cover.IsUnset) then