Fixed buttonID validation bug (0-based -> 1-based)
Authored by: vladr 2001-09-23
Parent: [r170]
Child: [r172]