Open GoogleCodeExporter opened 8 years ago
I was impatient, so I took a deeper look myself and found the problem.
There is a bug in m2elcombofn.c. To be more exact in
static void m2_el_combofn_dec(m2_el_fnarg_p fn_arg)
If value of combo element != 0 nothing happens there.
Change the code to the following:
static void m2_el_combofn_dec(m2_el_fnarg_p fn_arg)
{
uint8_t val = m2_el_combofn_get_val(fn_arg);
if ( val == 0 )
val = m2_el_combofn_get_len(fn_arg);
if ( val > 0 )
val--;
m2_el_combofn_set_val(fn_arg, val);
}
This seems to work. Please let me know if I did anything wrong there.
I hope I was able to make at least a small contribution to enhance this nice
piece of library.
Original comment by Clemens....@physik.uni-halle.de
on 16 Dec 2014 at 9:46
hmmm guess nobody else ever used COMBO with DATA_UP. Yes, i also think it is a
bug.
Thanks for pointing out this issue.
Original comment by olikr...@gmail.com
on 16 Dec 2014 at 11:57
Original issue reported on code.google.com by
Clemens....@physik.uni-halle.de
on 16 Dec 2014 at 7:51Attachments: