mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 05:17:24 +01:00
LCL: result value
git-svn-id: trunk@46585 -
This commit is contained in:
parent
5e5a4e0a0c
commit
158d2ed291
@ -4713,7 +4713,7 @@ function TControl.GetTextBuf(Buffer: PChar; BufSize: Integer): Integer;
|
||||
var
|
||||
S: string;
|
||||
begin
|
||||
if BufSize <= 0 then Exit;
|
||||
if BufSize <= 0 then Exit(0);
|
||||
|
||||
S := RealGetText;
|
||||
if Length(S) >= BufSize
|
||||
|
||||
Loading…
Reference in New Issue
Block a user