1
0
Fork 0
forked from len0rd/rockbox

Fix typos in comments

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20560 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Alexander Levin 2009-03-28 09:09:58 +00:00
parent 8f2aaaf79d
commit dca04925c6

View file

@ -44,7 +44,7 @@ static struct viewport vps[NB_SCREENS][QUICKSCREEN_ITEM_COUNT];
static struct viewport vp_icons[NB_SCREENS]; static struct viewport vp_icons[NB_SCREENS];
/* vp_icons will be used like this: /* vp_icons will be used like this:
the side icons will be aligned to the top of this vp and to their sides the side icons will be aligned to the top of this vp and to their sides
the bottom icon wil be aligned center and at the bottom of this vp */ the bottom icon will be aligned center and at the bottom of this vp */
#define MIN_LINES 4 #define MIN_LINES 4
#define MAX_NEEDED_LINES 8 #define MAX_NEEDED_LINES 8
@ -69,7 +69,7 @@ static void quickscreen_fix_viewports(struct gui_quickscreen *qs,
/* center the icons VP first */ /* center the icons VP first */
vp_icons[screen] = *parent; vp_icons[screen] = *parent;
vp_icons[screen].width = CENTER_ICONAREA_WIDTH; /* abosulte smallest allowed */ vp_icons[screen].width = CENTER_ICONAREA_WIDTH; /* absolute smallest allowed */
vp_icons[screen].x = parent->x + (parent->width / 2 - CENTER_ICONAREA_WIDTH / 2); vp_icons[screen].x = parent->x + (parent->width / 2 - CENTER_ICONAREA_WIDTH / 2);
vps[screen][QUICKSCREEN_BOTTOM] = *parent; vps[screen][QUICKSCREEN_BOTTOM] = *parent;