diff --git a/fcl/xml/xmlread.pp b/fcl/xml/xmlread.pp index 912f0178d1..ca4e289cef 100644 --- a/fcl/xml/xmlread.pp +++ b/fcl/xml/xmlread.pp @@ -686,7 +686,7 @@ begin Inc(buf); if not (CheckFor('yes''') or CheckFor('no''')) then RaiseExc('Expected ''yes'' or ''no'''); - end else if buf[0] = '''' then + end else if buf[0] = '"' then begin Inc(buf); if not (CheckFor('yes"') or CheckFor('no"')) then