From 0ad3fcc7db20508948d5c80158ab6ba4bd4079e6 Mon Sep 17 00:00:00 2001 From: davidus01 Date: Thu, 22 Jul 2010 22:50:31 +0000 Subject: bug: if in first sentence is one note than not execute onsentence procedure git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2605 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UNote.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/UNote.pas b/src/base/UNote.pas index d800d30e..ff9c6b57 100644 --- a/src/base/UNote.pas +++ b/src/base/UNote.pas @@ -374,7 +374,7 @@ begin begin with Lines[0].Line[I] do begin - if (HighNote > 0) then + if (HighNote >= 0) then begin SentenceEnd := Note[HighNote].Start + Note[HighNote].Length; -- cgit v1.2.3