mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 09:39:09 +02:00
parent
0cfdde094d
commit
130bac9c03
@ -792,7 +792,12 @@ implementation
|
|||||||
GUID.D4[i]:=byte(hexstr2longint(copy(s,22+i*2,2)));
|
GUID.D4[i]:=byte(hexstr2longint(copy(s,22+i*2,2)));
|
||||||
string2guid:=true;
|
string2guid:=true;
|
||||||
end
|
end
|
||||||
else
|
else if (length(s)=0) then
|
||||||
|
begin
|
||||||
|
FillChar(GUID,SizeOf(GUID),0);
|
||||||
|
string2guid:=true;
|
||||||
|
end
|
||||||
|
else
|
||||||
string2guid:=false;
|
string2guid:=false;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user