IDE: fpc msg parser: fixed IsMsgId

git-svn-id: trunk@45272 -
This commit is contained in:
mattias 2014-05-31 23:20:00 +00:00
parent edbff7270b
commit 46713481f5

View File

@ -2433,10 +2433,9 @@ begin
Value1:='';
Value2:='';
if Msg=nil then exit(false);
if Msg.MsgID<>MsgId then begin
if Msg.MsgID<>0 then exit(false);
if Msg.SubTool<>SubToolFPC then exit(false);
end;
if Msg.SubTool<>SubToolFPC then exit(false);
if (Msg.MsgID<>MsgId)
and (Msg.MsgID<>0) then exit(false);
Result:=true;
aFPCParser:=GetFPCParser(Msg);
if aFPCParser=nil then exit;