mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 01:39:27 +02:00
amiga: check if P is nil while processing params. this should never happen, except sometimes in real world it still happens. so lets be defensive about it
git-svn-id: trunk@49052 -
This commit is contained in:
parent
6b0d010a67
commit
50cb5707ef
@ -116,7 +116,7 @@ begin
|
||||
Count := 0;
|
||||
{ first index is one }
|
||||
LocalIndex := 1;
|
||||
while (P[Count] <> #0) do
|
||||
while assigned(P) and (P[Count] <> #0) do
|
||||
begin
|
||||
while (p[count]=' ') or (p[count]=#9) or (p[count]=LineEnding) do
|
||||
Inc(count);
|
||||
|
Loading…
Reference in New Issue
Block a user