mirror of https://gitlab.com/basile.b/dexed.git
fix, possible AV when lexing nothing
This commit is contained in:
parent
fe1e1468ee
commit
e26f8494af
|
@ -372,6 +372,8 @@ var
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
|
if aText = '' then exit;
|
||||||
|
|
||||||
reader.Create(@aText[1], Point(0, 0));
|
reader.Create(@aText[1], Point(0, 0));
|
||||||
while (True) do
|
while (True) do
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in New Issue