diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-02-23 18:01:07 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-02-23 18:01:07 +0000 |
commit | d69078d1e815627df00a80973b09adaa3eaf234f (patch) | |
tree | 895a901058c654622f36bd54939103bd4432546d /Game/Code | |
parent | 1c683178bcc27b47e63d9d663644d2ba6e7f40fc (diff) | |
download | usdx-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.pas | 2 |
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
|