aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavidus01 <davidus01@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-07-22 22:50:31 +0000
committerdavidus01 <davidus01@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-07-22 22:50:31 +0000
commit0ad3fcc7db20508948d5c80158ab6ba4bd4079e6 (patch)
tree8f245c4884b1cb3ebf0b9b246f0b104803b450d2
parentc857d070ddb5db30825afa760bcfe10a5eb9e5b0 (diff)
downloadusdx-0ad3fcc7db20508948d5c80158ab6ba4bd4079e6.tar.gz
usdx-0ad3fcc7db20508948d5c80158ab6ba4bd4079e6.tar.xz
usdx-0ad3fcc7db20508948d5c80158ab6ba4bd4079e6.zip
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
-rw-r--r--src/base/UNote.pas2
1 files changed, 1 insertions, 1 deletions
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;