aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-23 18:01:07 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-23 18:01:07 +0000
commitd69078d1e815627df00a80973b09adaa3eaf234f (patch)
tree895a901058c654622f36bd54939103bd4432546d /Game/Code
parent1c683178bcc27b47e63d9d663644d2ba6e7f40fc (diff)
downloadusdx-d69078d1e815627df00a80973b09adaa3eaf234f.tar.gz
usdx-d69078d1e815627df00a80973b09adaa3eaf234f.tar.xz
usdx-d69078d1e815627df00a80973b09adaa3eaf234f.zip
limit fractional digits of #PREVIEWSTART tag to 3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2151 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code')
-rw-r--r--Game/Code/Classes/UFiles.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/UFiles.pas b/Game/Code/Classes/UFiles.pas
index fdcffe3e..0d22fec5 100644
--- a/Game/Code/Classes/UFiles.pas
+++ b/Game/Code/Classes/UFiles.pas
@@ -885,7 +885,7 @@ begin
if Song.NotesGAP <> 0 then WriteLn(SongFile, '#NOTESGAP:' + IntToStr(Song.NotesGAP));
if Song.Start <> 0 then WriteLn(SongFile, '#START:' + FloatToStr(Song.Start));
if Song.Finish <> 0 then WriteLn(SongFile, '#END:' + IntToStr(Song.Finish));
- if Song.PreviewStart<> 0 then WriteLn(SongFile, '#PREVIEWSTART:'+ FloatToStr(Song.PREVIEWSTART));
+ if Song.PreviewStart<> 0 then WriteLn(SongFile, '#PREVIEWSTART:'+ FormatFloat('#0.000', Song.PREVIEWSTART));
if (Song.Medley.Source=msTag) and not Relative then
begin