Explorar o código

* fix compilation of Tetris demo

svenbarth %!s(int64=4) %!d(string=hai) anos
pai
achega
7944be97f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      demo/tetris/utetris.pp

+ 1 - 1
demo/tetris/utetris.pp

@@ -627,7 +627,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