From 51f653267ca61cbb5c02102d430fb4ac1fbe9063 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sun, 20 Mar 2016 22:30:35 +0100 Subject: [PATCH] clear pkg list between two q and dl from https --- src/ce_libmaneditor.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ce_libmaneditor.pas b/src/ce_libmaneditor.pas index abe1897e..74c395bb 100644 --- a/src/ce_libmaneditor.pas +++ b/src/ce_libmaneditor.pas @@ -227,8 +227,9 @@ var pge: string; cli: TFPHTTPClient; begin + cbb.Items.Clear; cli := TFPHTTPClient.Create(self); - pge := cli.Get('http://code.dlang.org/'); + pge := cli.Get('https://code.dlang.org/'); // note, also works with regex \"packages\/[a-zA-Z0-9_-]+\" with TStringRange.create(pge) do while not empty do begin