You've already forked CEF4Delphi
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user