diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-01-23 01:08:11 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-23 01:08:11 +0100 |
commit | 8a436039758b701cee6636f673f43661ffc0eab5 (patch) | |
tree | 7e0343e7bb88fce5e5599a07010b372d879bdfc6 /apps | |
parent | de1bcfa24f92cc754d3b975cf71796bf7aec0c18 (diff) | |
download | rockbox-8a436039758b701cee6636f673f43661ffc0eab5.tar.gz rockbox-8a436039758b701cee6636f673f43661ffc0eab5.zip |
Fix flag for the viewport. Text is supposed to be centered.
Change-Id: I8b29787fb99e0469c9e4a0b0ea08e61d3ff92589
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/lib/pluginlib_touchscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
99 | 99 | ||
100 | /* Set line_height to height, then it'll center for us */ | 100 | /* Set line_height to height, then it'll center for us */ |
101 | data[i].vp.line_height = data[i].vp.height; | 101 | data[i].vp.line_height = data[i].vp.height; |
102 | data[i].vp.flags |= VP_FLAG_ALIGN_RIGHT; | 102 | data[i].vp.flags |= VP_FLAG_ALIGN_CENTER; |
103 | 103 | ||
104 | /* If the width offset was 0, use a scrolling puts, else center and | 104 | /* If the width offset was 0, use a scrolling puts, else center and |
105 | * print the title. | 105 | * print the title. |