git-svn-id: trunk@9594 -
This commit is contained in:
michael 2007-12-30 21:35:04 +00:00
parent 0cfdde094d
commit 130bac9c03

View File

@ -792,7 +792,12 @@ implementation
GUID.D4[i]:=byte(hexstr2longint(copy(s,22+i*2,2)));
string2guid:=true;
end
else
else if (length(s)=0) then
begin
FillChar(GUID,SizeOf(GUID),0);
string2guid:=true;
end
else
string2guid:=false;
end;