From 2a34eceee97a03c1ffa44c5a9dc918600ebaeb1f Mon Sep 17 00:00:00 2001 From: Rubio Ribeiro Canario Terra Date: Fri, 11 Jan 2019 14:03:05 -0200 Subject: [PATCH] Fixing two bugs * Invalid access when editing an empty verse; * Module import importes one extra line and overrides the Rev 22:21 --- iBiblia.lpi | 158 +++++++++++++++++++++++++++--------------------- iBiblia.res | Bin 139772 -> 139772 bytes ibiblia | 0 projeto.pas | 2 +- versiculo.pas | 164 ++++++++++++++++++++++++++------------------------ 5 files changed, 177 insertions(+), 147 deletions(-) mode change 100755 => 100644 ibiblia diff --git a/iBiblia.lpi b/iBiblia.lpi index 68807e3..a61371a 100644 --- a/iBiblia.lpi +++ b/iBiblia.lpi @@ -20,7 +20,7 @@ - + @@ -169,7 +169,8 @@ - + + @@ -192,10 +193,11 @@ + - - + + @@ -274,8 +276,8 @@ - - + + @@ -303,7 +305,6 @@ - @@ -392,8 +393,8 @@ - - + + @@ -403,8 +404,8 @@ - - + + @@ -427,124 +428,124 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - + + - - + + @@ -574,7 +575,7 @@ - + @@ -582,6 +583,27 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/iBiblia.res b/iBiblia.res index 60ee1f8ad820b46bf1db63899b84cec39682a7b5..5c83c7d1f5fd207fba4eead1152c8a8f755b82fa 100644 GIT binary patch delta 31 ncmex!nB&i3jtytn7 0 then - raise Exception.Create('Ainda há sintagmas novos que não foram liberados!'); + if new.Count > 0 then + raise Exception.Create('Ainda há sintagmas novos que não foram liberados!'); - if FSintagmas.Count > 0 then - raise Exception.Create('Ainda há sintagmas antigos que não foram liberados!'); + if FSintagmas.Count > 0 then + raise Exception.Create('Ainda há sintagmas antigos que não foram liberados!'); - FSintagmas.Destroy; - FSintagmas := result; + FSintagmas.Destroy; + FSintagmas := result; + end; FXML := _XML; FXMLModificado := true; FModificado := true; - VersiculoPar.Modificado := true; + if assigned(VersiculoPar) then + VersiculoPar.Modificado := true; SintagmaClipboard := nil; Renderizar;