button: return 0 on index with unknown elem
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9b4cd23539
commit
5476665ba2
Signed-off-by: Julien Danjou <julien@danjou.info>