Integers in Lua 5.3
tDwtp opened this issue · comments
When running the HitTest example (from #75) the integer value for the area's x and y is way to high.
I guess a double
is interpreted as a long long int
somewhere.
example output:
[...]
window "HitTest Bug": size 240x240
area: 11530578440487077x11530578440487125
window "": size 1654190018x4448800
area: 11530578440487077x11530578440487125
Invalid window
ALSO: This sample's output has the rare occurance of the window-size going nuts. It sometimes sets to 0x10 or similar invalid values. Note that the window-title is also incorrect/missing.
The most common value is 0x10 (which can be seen when print (window)
is added to end of the minimal example.