Browse Source

* fixed copy&paste error (bug 4289)

git-svn-id: trunk@1483 -
florian 20 years ago
parent
commit
5a29bbda0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/xml/xmlread.pp

+ 1 - 1
fcl/xml/xmlread.pp

@@ -686,7 +686,7 @@ begin
         Inc(buf);
         Inc(buf);
         if not (CheckFor('yes''') or CheckFor('no''')) then
         if not (CheckFor('yes''') or CheckFor('no''')) then
           RaiseExc('Expected ''yes'' or ''no''');
           RaiseExc('Expected ''yes'' or ''no''');
-      end else if buf[0] = '''' then
+      end else if buf[0] = '"' then
       begin
       begin
         Inc(buf);
         Inc(buf);
         if not (CheckFor('yes"') or CheckFor('no"')) then
         if not (CheckFor('yes"') or CheckFor('no"')) then