0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-06-30 22:19:29 -04:00

[lua] math.mod -> math.fmod

It was changed in lua5.1
This commit is contained in:
Witold Filipczyk 2024-12-10 16:22:41 +01:00
parent c0e69868ec
commit a6fbf18df5

View File

@ -156,7 +156,7 @@ function hx (c)
end
function char2hex (c)
return '%'..hx (string.byte (c) / 16)..hx (math.mod(string.byte (c), 16))
return '%'..hx (string.byte (c) / 16)..hx (math.fmod(string.byte (c), 16))
end
function escape (str)