diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-12-18 16:12:33 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-12-18 16:12:33 +0000 |
commit | 5d1e512e23f6506f270868f1509397674c2e4d5b (patch) | |
tree | cfe04880e24be87a2e884f524257c516919b5b2c /src | |
parent | d3b710957904ec42fa9492e0b19f30a84e0fb362 (diff) | |
download | usdx-5d1e512e23f6506f270868f1509397674c2e4d5b.tar.gz usdx-5d1e512e23f6506f270868f1509397674c2e4d5b.tar.xz usdx-5d1e512e23f6506f270868f1509397674c2e4d5b.zip |
change zero note error to warning with better description
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2050 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r-- | src/base/USong.pas | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base/USong.pas b/src/base/USong.pas index fccf2757..705206c4 100644 --- a/src/base/USong.pas +++ b/src/base/USong.pas @@ -510,7 +510,9 @@ begin //Check for ZeroNote if Param2 = 0 then - Log.LogError('Found zero-length note at "'+Param0+' '+IntToStr(Param1)+' '+IntToStr(Param2)+' '+IntToStr(Param3)+ParamLyric+'" -> Note ignored!') + Log.LogWarn(Format('"%s" in line %d: %s', + [FileNamePath.ToNative, FileLineNo, 'found note with length zero -> note ignored']), 'TSong.LoadSong') + //Log.LogError('Found zero-length note at "'+Param0+' '+IntToStr(Param1)+' '+IntToStr(Param2)+' '+IntToStr(Param3)+ParamLyric+'" -> Note ignored!') else begin // add notes |