소스 검색

* fix for supported_target turned into a set in r12622

git-svn-id: trunk@12623 -
marco 16 년 전
부모
커밋
4ae434ce2e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      ide/fpswitch.pas

+ 2 - 2
ide/fpswitch.pas

@@ -1106,8 +1106,8 @@ begin
      AddDefaultSelect(opt_usedefaultas);
      for ta:=low(tasm) to high(tasm) do
        if assigned(asminfos[ta]) and
-         ((asminfos[ta]^.supported_target=target_info.system) or
-         (asminfos[ta]^.supported_target=system_any)) then
+         ((target_info.system in asminfos[ta]^.supported_targets) or
+         (system_any in asminfos[ta]^.supported_targets)) then
          begin
            st:='Asm '+asminfos[ta]^.idtxt;
            if asminfos[ta]^.idtxt='AS' then