From 8a436039758b701cee6636f673f43661ffc0eab5 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 23 Jan 2012 01:08:11 +0100 Subject: Fix flag for the viewport. Text is supposed to be centered. Change-Id: I8b29787fb99e0469c9e4a0b0ea08e61d3ff92589 --- apps/plugins/lib/pluginlib_touchscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/plugins/lib/pluginlib_touchscreen.c b/apps/plugins/lib/pluginlib_touchscreen.c index ab617ac488..eca76a6999 100644 --- a/apps/plugins/lib/pluginlib_touchscreen.c +++ b/apps/plugins/lib/pluginlib_touchscreen.c @@ -99,7 +99,7 @@ void touchbutton_draw(struct touchbutton *data, int num_buttons) { /* Set line_height to height, then it'll center for us */ data[i].vp.line_height = data[i].vp.height; - data[i].vp.flags |= VP_FLAG_ALIGN_RIGHT; + data[i].vp.flags |= VP_FLAG_ALIGN_CENTER; /* If the width offset was 0, use a scrolling puts, else center and * print the title. -- cgit v1.2.3