mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 11:49:18 +02:00
* Strip prefix off name in allocatename
git-svn-id: trunk@38373 -
This commit is contained in:
parent
70523f1b58
commit
1c36ce2605
@ -5509,6 +5509,10 @@ Var
|
||||
|
||||
begin
|
||||
BaseName:=ClassName;
|
||||
If SameText(Copy(BaseName,1,9),'TFPReport') then
|
||||
Delete(BaseName,1,9)
|
||||
else If SameText(Copy(BaseName,1,1),'T') then
|
||||
Delete(BaseName,1,1);
|
||||
I:=1;
|
||||
Repeat
|
||||
Result:=BaseName+IntToStr(I);
|
||||
|
Loading…
Reference in New Issue
Block a user