Skip to content

Commit

Permalink
LuaSyntax - fix fStringLen calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrinzPlayer authored Oct 27, 2019
1 parent 7dcf552 commit ed0ce68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cheat Engine/LuaSyntax.pas
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ procedure TSynLuaSyn.InitIdent;
function TSynLuaSyn.KeyHash(ToHash: PChar): Integer;
begin
Result := 0;
while ToHash^ in ['.', '_', 'a'..'z', 'A'..'Z'] do
while ToHash^ in ['.', '_', 'a'..'z', 'A'..'Z', '0'..'9'] do
begin
inc(Result, mHashTable[ToHash^]);
inc(ToHash);
Expand Down

0 comments on commit ed0ce68

Please sign in to comment.