mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +02:00
IDE: Prevent range check error in all compiler options parser.
git-svn-id: trunk@42399 -
This commit is contained in:
parent
b7410e5152
commit
d5fea9e70b
@ -744,7 +744,7 @@ begin
|
||||
begin
|
||||
Start := i;
|
||||
if aOptStr[i] in ['0'..'9'] then
|
||||
while (aOptStr[i] in ['0'..'9']) and (i <= Length(aOptStr)) do
|
||||
while (i <= Length(aOptStr)) and (aOptStr[i] in ['0'..'9']) do
|
||||
Inc(i)
|
||||
else
|
||||
Inc(i);
|
||||
|
Loading…
Reference in New Issue
Block a user