trackeditor: fix trackname in comment

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8455 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b2daae9d870e9d822db26e20dc906081f65f15df
Former-commit-id: 1df301c9387f5faa36f030f651bd5a9ac2f7f4dc
This commit is contained in:
iobyte 2022-09-06 04:27:57 +00:00
parent 76c17c2ad2
commit b6bf9bac0c

View file

@ -632,8 +632,11 @@ public class XmlWriter
private synchronized String getCredit()
{
String sep = System.getProperty("file.separator");
String filename = Editor.getProperties().getPath();
String trackname = filename.substring(filename.lastIndexOf(sep) + 1);
String tmp = "\n";
tmp += "file : " + editorFrame.getTrackData().getHeader().getName() + ".xml\n";
tmp += "file : " + trackname + ".xml\n";
tmp += "auto generated : by " + Editor.getProperties().title + "\n";
tmp += "version : " + Editor.getProperties().version + "\n";
tmp += "copyright : (C) 2005 by Charalampos Alexopoulos\n";