1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-22 22:17:48 +02:00

Added Delphi 6 support thanks to andreluisfc

This commit is contained in:
Salvador Díaz Fau
2024-03-23 18:21:32 +01:00
parent 76d3880633
commit 16639d5ea5
10 changed files with 58 additions and 10 deletions

View File

@ -106,7 +106,11 @@ begin
TempValue := TempStrMap.Value[i];
if (length(TempKey) > 0) and (length(TempValue) > 0) then
{$IFDEF VER140}
attrList.Add(TempKey + '=' + TempValue) // Only for Delphi 6
{$ELSE}
attrList.Add(TempKey + attrList.NameValueSeparator + TempValue)
{$ENDIF}
else
if (length(TempKey) > 0) then
attrList.Add(TempKey)