Ok, this is becoming ridiculous. Change from yesterday : top is an index for displayed items and not for all items, so :
- for (index = top; index < nb_items; index++) {
+ for (index = menu_disp[top]; index < nb_items; index++) {
And now change from today : that's all good an nice, except that if the list is empty, then menu_disp becomes undefined, and you can't access menu_disp[] at all. So :
- for (index = menu_disp[top]; index < nb_items; index++) {
+ for (index = (menu_disp ? menu_disp[top] : 0); index < nb_items; index++) {
I don't see what else could go wrong in this stupid piece of code anyway. Maybe something else somewhere else, but not here ! Anyway, that's the 0.93.5d then, removed 5a, 5b, and 5c from the server.
Sorry I am still not in perfect shape so I am not really in mood to make some large scale tests... so it's a bet, but after so many failures it should work !
http://raine.1emulation.com/download/latest.html