You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Lazarus/FPC compatibility fix.
This commit is contained in:
@ -350,7 +350,11 @@ begin
|
||||
try
|
||||
EnterCriticalSection(FCriticalSection);
|
||||
|
||||
TempTotal := max(size, FGrow);
|
||||
if (size < FGrow) then
|
||||
TempTotal := FGrow
|
||||
else
|
||||
TempTotal := size;
|
||||
|
||||
inc(TempTotal, FBufferSize);
|
||||
|
||||
ReallocMem(FBuffer, TempTotal);
|
||||
|
Reference in New Issue
Block a user