1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00
Kalle Olavi Niemitalo 9e11e30fe3 bug 764, LUA: option_types[OPT_INT].set needs long *
l_set_option() was passing the address of an int to
option_types[OPT_INT].set and option_types[OPT_BOOL].set.
That looks correct but is not: both function pointers
point to num_set(), which actually reads *(long *) str.
Change l_set_option() to pass the address of a long instead,
and add comments about this dependency.
(cherry picked from elinks-0.11 commit 8766e3829f4156fca541bc01784c4fdf46a89dad)
(cherry picked from elinks-0.12 commit 0797f04921f5fb2dada86d53b7655adf634751f5)
2012-11-03 23:01:28 +02:00
..
2005-10-21 09:14:07 +02:00
2010-07-26 09:30:11 +02:00
2005-10-21 09:14:07 +02:00
2005-10-21 09:14:07 +02:00
2005-10-20 04:00:35 +02:00