[Mvpmc-cvs] mvpmc/tools colortest.c,1.2,1.3
Status: Alpha
Brought to you by:
gettler
From: John H. <hon...@us...> - 2005-06-07 23:38:26
|
Update of /cvsroot/mvpmc/mvpmc/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17585 Modified Files: colortest.c Log Message: -Doh forgot to check this in several weeks ago. Index: colortest.c =================================================================== RCS file: /cvsroot/mvpmc/mvpmc/tools/colortest.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** colortest.c 1 Apr 2005 03:54:00 -0000 1.2 --- colortest.c 7 Jun 2005 23:38:17 -0000 1.3 *************** *** 387,420 **** cur_dir = 1; break; - case MVPW_KEY_ONE: - incr_val = 1; - break; - case MVPW_KEY_TWO: - incr_val = 2; - break; - case MVPW_KEY_THREE: - incr_val = 3; - break; - case MVPW_KEY_FOUR: - incr_val = 4; - break; - case MVPW_KEY_FIVE: - incr_val = 5; - break; - case MVPW_KEY_SIX: - incr_val = 6; - break; - case MVPW_KEY_SEVEN: - incr_val = 7; - break; - case MVPW_KEY_EIGHT: - incr_val = 8; - break; - case MVPW_KEY_NINE: - incr_val = 9; - break; case MVPW_KEY_ZERO: incr_val = 10; break; default: break; --- 387,397 ---- cur_dir = 1; break; case MVPW_KEY_ZERO: incr_val = 10; break; + case MVPW_KEY_ONE ... MVPW_KEY_NINE: + incr_val = key - MVPW_KEY_ZERO; + break; + default: break; |