diff options
author | 2014-10-24 23:04:05 -0400 | |
---|---|---|
committer | 2014-10-24 23:04:05 -0400 | |
commit | 1de8c1bb596a7dbff39ab55685ead31a5d0c9373 (patch) | |
tree | ce475e981b6134964c1d27506d24842a67fa059b /core/.buffer.luadoc | |
parent | b2436878d123496fb6dc1e8008730af8302f8c6b (diff) | |
download | textadept-1de8c1bb596a7dbff39ab55685ead31a5d0c9373.tar.gz textadept-1de8c1bb596a7dbff39ab55685ead31a5d0c9373.zip |
Fixed bug in `lL_event()` for LUA_TNUMBER type size mismatches; src/textadept.c
The type extracted for LUA_TNUMBER was `sptr_t` (long), however most of the
time, `int` is used. Since `sizeof(long) > sizeof(int)`, `lL_event()` sometimes
pushed extra bytes in memory around the original integer passed (at least I
think this explains the behavior I observed).
Diffstat (limited to 'core/.buffer.luadoc')
0 files changed, 0 insertions, 0 deletions