Fix a follow up error of previous commit - need to call CharsetTable.First now.

This commit is contained in:
Ansgar Becker
2009-12-05 16:54:43 +00:00
parent 37f83b6af8
commit de45bdd24a

View File

@ -729,9 +729,12 @@ var
begin
c := CharsetTable;
Result := TStringList.Create;
if Assigned(c) then while not c.Eof do begin
Result.Add(c.Col('Description') + ' (' + c.Col('Charset') + ')');
c.Next;
if Assigned(c) then begin
c.First;
while not c.Eof do begin
Result.Add(c.Col('Description') + ' (' + c.Col('Charset') + ')');
c.Next;
end;
end;
end;