diff options
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r-- | apps/wps-display.c | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index 159f0abda6..238c8d3f19 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -1097,18 +1097,20 @@ static void draw_player_fullbar(char* buf, int buf_size, | |||
1097 | 1097 | ||
1098 | char player_progressbar[7]; | 1098 | char player_progressbar[7]; |
1099 | char binline[36]; | 1099 | char binline[36]; |
1100 | char numbers[12][4][3]={{{1,1,1},{1,0,1},{1,0,1},{1,1,1}},/*0*/ | 1100 | static const char numbers[12][4][3]={ |
1101 | {{0,1,0},{1,1,0},{0,1,0},{0,1,0}},/*1*/ | 1101 | {{1,1,1},{1,0,1},{1,0,1},{1,1,1}},/*0*/ |
1102 | {{1,1,1},{0,0,1},{0,1,0},{1,1,1}},/*2*/ | 1102 | {{0,1,0},{1,1,0},{0,1,0},{0,1,0}},/*1*/ |
1103 | {{1,1,1},{0,0,1},{0,1,1},{1,1,1}},/*3*/ | 1103 | {{1,1,1},{0,0,1},{0,1,0},{1,1,1}},/*2*/ |
1104 | {{1,0,0},{1,1,0},{1,1,1},{0,1,0}},/*4*/ | 1104 | {{1,1,1},{0,0,1},{0,1,1},{1,1,1}},/*3*/ |
1105 | {{1,1,1},{1,1,0},{0,0,1},{1,1,0}},/*5*/ | 1105 | {{1,0,0},{1,1,0},{1,1,1},{0,1,0}},/*4*/ |
1106 | {{1,1,1},{1,0,0},{1,1,1},{1,1,1}},/*6*/ | 1106 | {{1,1,1},{1,1,0},{0,0,1},{1,1,0}},/*5*/ |
1107 | {{1,1,1},{0,0,1},{0,1,0},{1,0,0}},/*7*/ | 1107 | {{1,1,1},{1,0,0},{1,1,1},{1,1,1}},/*6*/ |
1108 | {{1,1,1},{1,1,1},{1,0,1},{1,1,1}},/*8*/ | 1108 | {{1,1,1},{0,0,1},{0,1,0},{1,0,0}},/*7*/ |
1109 | {{1,1,1},{1,1,1},{0,0,1},{1,1,1}},/*9*/ | 1109 | {{1,1,1},{1,1,1},{1,0,1},{1,1,1}},/*8*/ |
1110 | {{0,0,0},{0,1,0},{0,0,0},{0,1,0}},/*:*/ | 1110 | {{1,1,1},{1,1,1},{0,0,1},{1,1,1}},/*9*/ |
1111 | {{0,0,0},{0,0,0},{0,0,0},{0,0,0}}};/*<blank>*/ | 1111 | {{0,0,0},{0,1,0},{0,0,0},{0,1,0}},/*:*/ |
1112 | {{0,0,0},{0,0,0},{0,0,0},{0,0,0}} /*<blank>*/ | ||
1113 | }; | ||
1112 | 1114 | ||
1113 | int songpos = 0; | 1115 | int songpos = 0; |
1114 | int digits[6]; | 1116 | int digits[6]; |