mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-03 09:18:43 +02:00
* Fixed strtotime. Last character was never taken into account
git-svn-id: trunk@12005 -
This commit is contained in:
parent
dfda298172
commit
65637e301f
@ -457,7 +457,7 @@ var
|
||||
begin
|
||||
result := -1;
|
||||
Inc(Current);
|
||||
while (result = -1) and (Current < Len) do
|
||||
while (result = -1) and (Current <= Len) do
|
||||
begin
|
||||
if S[Current] in ['0'..'9'] then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user