Skip to content

Commit

Permalink
Fixed an issue with client in the new Lape
Browse files Browse the repository at this point in the history
Made Client and Settings not constants anymore.
  • Loading branch information
JohnPeel committed Aug 21, 2014
1 parent d4e42a4 commit 1b6d6ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Units/MMLAddon/mmlpsthread.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1411,8 +1411,8 @@ constructor TLPThread.Create(CreateSuspended: Boolean; TheSyncInfo: PSyncInfo; p
RegisterLCLClasses(Compiler);
RegisterMMLClasses(Compiler);

addGlobalVar('TClient', @Client, 'Client').isConstant := True;
addGlobalVar('TMMLSettingsSandbox', @Sett, 'Settings').isConstant := True;
addGlobalVar('TClient', @Client, 'Client');
addGlobalVar('TMMLSettingsSandbox', @Sett, 'Settings');

{$I LPInc/lpexportedmethods.inc}

Expand Down

0 comments on commit 1b6d6ab

Please sign in to comment.