Factorize toolbar reset code, and don't compute array sizes using
authorwwp <wwp@free.fr>
Tue, 27 Dec 2016 17:04:42 +0000 (18:04 +0100)
committerwwp <wwp@free.fr>
Tue, 27 Dec 2016 17:04:42 +0000 (18:04 +0100)
commitf69f1588a93e4988990617bba6ec03933b081693
treee81e20ad8d3e69d41fa22b374f188f70007befe2
parent30a1c0875f4ac72c1609c7beb0497d20ef789f64
Factorize toolbar reset code, and don't compute array sizes using
unsafe calculations.
src/toolbar.c