Save a bit of binsize by using a more suitable datatype and making the array static.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22349 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2009-08-16 17:35:36 +00:00
parent bf9facc49c
commit eefe832785

View file

@ -517,7 +517,8 @@ bool set_time_screen(const char* title, struct tm *tm)
unsigned int statusbar_height = 0;
unsigned int separator_width, weekday_width;
unsigned int prev_line_height;
int daysinmonth[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
static unsigned char daysinmonth[] =
{31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
unsigned char buffer[20];
struct viewport vp[NB_SCREENS];
int nb_lines;