Browse Source

* Fix typo for namespaced use

Michaël Van Canneyt 1 year ago
parent
commit
07f11729cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/wasi/src/wasiworkerthreadhost.pas

+ 1 - 1
packages/wasi/src/wasiworkerthreadhost.pas

@@ -622,7 +622,7 @@ end;
 
 
 function TWorkerWASIHostApplication.GetLocation: String;
 function TWorkerWASIHostApplication.GetLocation: String;
 begin
 begin
-  Result:={$IFDEF FPC_DOTTEDUNITS}BrowserApi.Worker.{$ELSE}}WebWorker.{$ENDIF}Location.pathname;
+  Result:={$IFDEF FPC_DOTTEDUNITS}BrowserApi.Worker.{$ELSE}WebWorker.{$ENDIF}Location.pathname;
 end;
 end;
 
 
 constructor TWorkerWASIHostApplication.Create(aOwner: TComponent);
 constructor TWorkerWASIHostApplication.Create(aOwner: TComponent);