mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 04:19:07 +02:00
+ Patch from Michalis Kamburelis to fix hex2dec behaviour in case of error
git-svn-id: trunk@2373 -
This commit is contained in:
parent
8c408e67fd
commit
dcb932d367
@ -1156,7 +1156,7 @@ begin
|
||||
HexStr:='$'+ S
|
||||
else
|
||||
HexStr:=S;
|
||||
Result:=StrTointDef(HexStr,0);
|
||||
Result:=StrToInt(HexStr);
|
||||
end;
|
||||
|
||||
function Dec2Numb(N: Longint; Len, Base: Byte): string;
|
||||
|
Loading…
Reference in New Issue
Block a user