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/plugins/lib/pluginlib_touchscreen.c | |
| parent | de1bcfa24f92cc754d3b975cf71796bf7aec0c18 (diff) | |
| download | rockbox-8a436039758b701cee6636f673f43661ffc0eab5.zip rockbox-8a436039758b701cee6636f673f43661ffc0eab5.tar.gz rockbox-8a436039758b701cee6636f673f43661ffc0eab5.tar.bz2 rockbox-8a436039758b701cee6636f673f43661ffc0eab5.tar.xz | |
Fix flag for the viewport. Text is supposed to be centered.
Change-Id: I8b29787fb99e0469c9e4a0b0ea08e61d3ff92589
Diffstat (limited to '')
| -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 ab617ac..eca76a6 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. |