hedgewars/uUtils.pas
changeset 10560 9f09196d92a6
parent 10505 03894bfb8bf3
child 10562 3388822b3914
equal deleted inserted replaced
10556:c4ca0fc00c3b 10560:9f09196d92a6
   278 end;
   278 end;
   279 
   279 
   280 
   280 
   281 function DecodeBase64(s: shortstring): shortstring;
   281 function DecodeBase64(s: shortstring): shortstring;
   282 const table = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
   282 const table = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
   283 var i, t, c: Longword;
   283 var i, t, c: LongInt;
   284 begin
   284 begin
   285 c:= 0;
   285 c:= 0;
   286 for i:= 1 to Length(s) do
   286 for i:= 1 to Length(s) do
   287     begin
   287     begin
   288     t:= Pos(s[i], table);
   288     t:= Pos(s[i], table);