Explorar o código

* fixed copy&paste error (bug 4289)

git-svn-id: trunk@1483 -
florian %!s(int64=20) %!d(string=hai) anos
pai
achega
5a29bbda0f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fcl/xml/xmlread.pp

+ 1 - 1
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