summaryrefslogtreecommitdiff
path: root/apps/gui/quickscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/quickscreen.c')
-rw-r--r--apps/gui/quickscreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c
index 455fc1812d..1ddae2390a 100644
--- a/apps/gui/quickscreen.c
+++ b/apps/gui/quickscreen.c
@@ -44,7 +44,7 @@ static struct viewport vps[NB_SCREENS][QUICKSCREEN_ITEM_COUNT];
44static struct viewport vp_icons[NB_SCREENS]; 44static struct viewport vp_icons[NB_SCREENS];
45/* vp_icons will be used like this: 45/* vp_icons will be used like this:
46 the side icons will be aligned to the top of this vp and to their sides 46 the side icons will be aligned to the top of this vp and to their sides
47 the bottom icon wil be aligned center and at the bottom of this vp */ 47 the bottom icon will be aligned center and at the bottom of this vp */
48 48
49#define MIN_LINES 4 49#define MIN_LINES 4
50#define MAX_NEEDED_LINES 8 50#define MAX_NEEDED_LINES 8
@@ -69,7 +69,7 @@ static void quickscreen_fix_viewports(struct gui_quickscreen *qs,
69 69
70 /* center the icons VP first */ 70 /* center the icons VP first */
71 vp_icons[screen] = *parent; 71 vp_icons[screen] = *parent;
72 vp_icons[screen].width = CENTER_ICONAREA_WIDTH; /* abosulte smallest allowed */ 72 vp_icons[screen].width = CENTER_ICONAREA_WIDTH; /* absolute smallest allowed */
73 vp_icons[screen].x = parent->x + (parent->width / 2 - CENTER_ICONAREA_WIDTH / 2); 73 vp_icons[screen].x = parent->x + (parent->width / 2 - CENTER_ICONAREA_WIDTH / 2);
74 74
75 vps[screen][QUICKSCREEN_BOTTOM] = *parent; 75 vps[screen][QUICKSCREEN_BOTTOM] = *parent;