laz_xmlcfg: using CompareText

git-svn-id: trunk@24731 -
This commit is contained in:
mattias 2010-04-20 10:32:41 +00:00
parent 3fb7dc3c0e
commit e47cce723c

View File

@ -240,9 +240,9 @@ begin
s := GetValue(APath, s);
if AnsiCompareText(s,'TRUE')=0 then
if CompareText(s,'TRUE')=0 then
Result := True
else if AnsiCompareText(s,'FALSE')=0 then
else if CompareText(s,'FALSE')=0 then
Result := False
else
Result := ADefault;