* Fix for bug #35161, by Doyenne

git-svn-id: trunk@41545 -
This commit is contained in:
michael 2019-03-02 10:20:43 +00:00
parent 62cef8eb2b
commit 1c9bca29e3

View File

@ -425,6 +425,8 @@ var
Outstream : TStringStream;
Decoder : TBase64DecodingStream;
begin
if Length(s)=0 then
Exit('');
SD:=S;
while Length(Sd) mod 4 > 0 do
SD := SD + '=';