nono/linuxfr.org — pull request #182 by cykl (2012-10-19 17:22:56+00:00)
Title: Fix off by one error in the toolbar.

Please note that I didn't test my changes (lot of setup required for a 4 lines changes). Please review/test it carefully.

@current and @alt_current must be between 1 and @nb(_alt)?_items but are
initialized to 0. Adjusting their values with arithmetic on boundary checks
leads to a OBOE (hit prev first). It's safer to reset the value to the lower
or upper bound.