mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 05:59:28 +02:00
* Fix resource name as well, not only unit name
git-svn-id: trunk@46287 -
This commit is contained in:
parent
10c4e3f6fc
commit
dbbbc6c15c
@ -83,7 +83,7 @@ begin
|
||||
aName:=Options.Values['name'];
|
||||
if aName='' then
|
||||
aName:=ChangeFileExt(ExtractFileName(aFileName),'');
|
||||
Result:=Format(SAddResource,[aName,LowerCase(CurrentUnitName),aFormat,aData]);
|
||||
Result:=Format(SAddResource,[LowerCase(aName),LowerCase(CurrentUnitName),aFormat,aData]);
|
||||
end;
|
||||
|
||||
procedure TJSResourceHandler.HandleResource(aFileName: string; Options: TStrings);
|
||||
|
Loading…
Reference in New Issue
Block a user