Browse Source

* fix for supported_target turned into a set in r12622

git-svn-id: trunk@12623 -
marco 16 years ago
parent
commit
4ae434ce2e
1 changed files with 2 additions and 2 deletions
  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