aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-11-18 12:45:34 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-11-18 12:45:34 +0000
commit69f8925636e89f9803490f3407380879eb0549e6 (patch)
treee53737d4ca219a139a435cbfe9035f2e54c6a11e
parent1c86cfca45351b172e42d508cb55788c644ed392 (diff)
downloadusdx-69f8925636e89f9803490f3407380879eb0549e6.tar.gz
usdx-69f8925636e89f9803490f3407380879eb0549e6.tar.xz
usdx-69f8925636e89f9803490f3407380879eb0549e6.zip
fixed playlist creation bug: absolute path instead of just the filename was written to Playlist.Filename
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1948 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--src/base/UPlaylist.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/UPlaylist.pas b/src/base/UPlaylist.pas
index 03ae2ffb..188b02a6 100644
--- a/src/base/UPlaylist.pas
+++ b/src/base/UPlaylist.pas
@@ -350,7 +350,7 @@ begin
Inc(I);
PlaylistFile := PlaylistPath.Append(Name + InttoStr(I) + '.upl');
end;
- Playlists[Result].Filename := PlaylistFile;
+ Playlists[Result].Filename := PlaylistFile.GetName;
//Save new Playlist
SavePlayList(Result);