فهرست منبع

* make sure that the resource compiler related globals are reset

git-svn-id: trunk@46399 -
svenbarth 5 سال پیش
والد
کامیت
f3541984ee
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      compiler/comprsrc.pas

+ 9 - 0
compiler/comprsrc.pas

@@ -565,4 +565,13 @@ begin
   resourcefile.free;
 end;
 
+procedure initglobals;
+begin
+  ResCompiler:='';
+  RCCompiler:='';
+  RCForceFPCRes:=false;
+end;
+
+initialization
+  register_initdone_proc(@initglobals,nil);
 end.