# HG changeset patch # User David McClosky # Date 1181954569 0 # Node ID e43dcabbf9bacbb6a6c94a143af9326af9958a21 # Parent 53ec93018ee7b60072d28a4c74fd5ff85d0361fb keyboardcomposer: fix hw slider off by one bug diff -r 53ec93018ee7 -r e43dcabbf9ba bin/keyboardcomposer --- a/bin/keyboardcomposer Fri Jun 15 23:45:28 2007 +0000 +++ b/bin/keyboardcomposer Sat Jun 16 00:42:49 2007 +0000 @@ -198,10 +198,9 @@ row = self.rows[self.current_row] self.keyhints.pack_configure(before=row) - for col in range(8): + for col in range(1, 9): try: - subtk = self.slider_table[(self.current_row, col)] - col += 1 + subtk = self.slider_table[(self.current_row, col - 1)] self.sliders.valueOut("button-upper%d" % col, 127) except KeyError: # unfilled bottom row has holes (plus rows with incomplete