瀏覽代碼

* fixed copy&paste error (bug 4289)

git-svn-id: trunk@1483 -
florian 20 年之前
父節點
當前提交
5a29bbda0f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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