2
0
Эх сурвалжийг харах

* make sure that the resource compiler related globals are reset

git-svn-id: trunk@46399 -
svenbarth 5 жил өмнө
parent
commit
f3541984ee

+ 9 - 0
compiler/comprsrc.pas

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