Browse Source

amunits: cardres, use the predefined CARDRESNAME constant while opening the resource

Karoly Balogh 1 day ago
parent
commit
79d64a8b65
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/amunits/src/coreunits/cardres.pas

+ 1 - 1
packages/amunits/src/coreunits/cardres.pas

@@ -223,5 +223,5 @@ function CardInterface: DWord; syscall CardResBase 102;
 implementation
 
 begin
-  CardResBase:=OpenResource('card.resource');
+  CardResBase:=OpenResource(CARDRESNAME);
 end.