aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/base/USong.pas4
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