From c2db15412145ecf6da0dc11d330f2b6fc3daa215 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 19 Feb 2007 19:42:22 +0000 Subject: [PATCH] * forgotten commit git-svn-id: trunk@6565 - --- compiler/comprsrc.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/comprsrc.pas b/compiler/comprsrc.pas index 21a8367318..7a7c12ba02 100644 --- a/compiler/comprsrc.pas +++ b/compiler/comprsrc.pas @@ -144,7 +144,7 @@ begin begin if target_info.res<>res_none then begin - resourcefile:=TResourceFile(resinfos[target_info.res]^.resourcefileclass).create(current_module.ResourceFiles.getfirst); + resourcefile:=TResourceFile(resinfos[target_info.res]^.resourcefileclass.create(current_module.ResourceFiles.getfirst)); resourcefile.compile; resourcefile.free; end