Browse Source

* Fix compilation, fix issue #39213

Michaël Van Canneyt 3 years ago
parent
commit
e706baa9c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      demo/pacman/upacman.pp

+ 1 - 1
demo/pacman/upacman.pp

@@ -760,7 +760,7 @@ Var
   S : String;
 begin
   Result:=true;
-  S:=aEvent.currentTarget.ID;
+  S:=aEvent.currentTargetElement.ID;
   aEvent.preventDefault;
   if Copy(S,1,Length(SControl))=SControl then
     begin