summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_window.c
diff options
context:
space:
mode:
authorYoshihisa Uchida <uchida@rockbox.org>2010-06-24 12:58:46 +0000
committerYoshihisa Uchida <uchida@rockbox.org>2010-06-24 12:58:46 +0000
commit7e37fa926d4a034bc7d156fe6a79d8cdc3a4e639 (patch)
tree2200a3903f63ab8a0167eaa5152e37d9c4fa4058 /apps/plugins/text_viewer/tv_window.c
parent936e673954fa98137969658c51743a0280badd7b (diff)
downloadrockbox-7e37fa926d4a034bc7d156fe6a79d8cdc3a4e639.zip
rockbox-7e37fa926d4a034bc7d156fe6a79d8cdc3a4e639.tar.gz
rockbox-7e37fa926d4a034bc7d156fe6a79d8cdc3a4e639.tar.bz2
rockbox-7e37fa926d4a034bc7d156fe6a79d8cdc3a4e639.tar.xz
text_viewer: rename preference values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27106 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/text_viewer/tv_window.c')
-rw-r--r--apps/plugins/text_viewer/tv_window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/text_viewer/tv_window.c b/apps/plugins/text_viewer/tv_window.c
index f1f2033..1bb47b1 100644
--- a/apps/plugins/text_viewer/tv_window.c
+++ b/apps/plugins/text_viewer/tv_window.c
@@ -234,7 +234,7 @@ void tv_draw_window(void)
tv_copy_screen_pos(&pos);
rb->lcd_clear_display();
- if (preferences->alignment == LEFT)
+ if (preferences->alignment == AL_LEFT)
tv_read_start(cur_window, (cur_column > 0));
else
tv_read_start(0, preferences->windows > 1);
@@ -244,7 +244,7 @@ void tv_draw_window(void)
if (!tv_get_next_line(&line_buf))
break;
- if (preferences->alignment == RIGHT)
+ if (preferences->alignment == AL_RIGHT)
{
rb->lcd_getstringsize(line_buf, &line_width, NULL);
dx = draw_width - line_width;