소스 검색

* Fixed bug #10511

git-svn-id: trunk@9594 -
michael 17 년 전
부모
커밋
130bac9c03
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      compiler/globals.pas

+ 6 - 1
compiler/globals.pas

@@ -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;