Skip to content

Commit

Permalink
LuaSyntax - fix fStringLen calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrinzPlayer committed Jan 18, 2020
1 parent 4c5a870 commit 106b0d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cheat Engine/LuaSyntax.pas
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ function TSynLuaSyn.KeyHash(ToHash: PChar): Integer;
Result := 0;
while ToHash^ in ['.', '_', 'a'..'z', 'A'..'Z', '0'..'9'] do
begin
if (ToHash^='.') and ((ToHash+1)^='.') then break;
inc(Result, mHashTable[ToHash^]);
inc(ToHash);
end;
Expand Down

0 comments on commit 106b0d0

Please sign in to comment.