diff options
author | Yoshihisa Uchida <uchida@rockbox.org> | 2010-06-29 12:23:41 +0000 |
---|---|---|
committer | Yoshihisa Uchida <uchida@rockbox.org> | 2010-06-29 12:23:41 +0000 |
commit | 470226dbbfc4ca0b61ca33620c06c695d7e55d57 (patch) | |
tree | 376cf50915bf3440f613ad86f55973ae2bbdf829 /apps/plugins/text_viewer/tv_action.c | |
parent | 25f44c2e1f9b12c13cab9eb8bde8e0fe0e3ba5da (diff) |
text viewer: some members of preferences change to bool. And simplify menu setting functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27174 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/text_viewer/tv_action.c')
-rw-r--r-- | apps/plugins/text_viewer/tv_action.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/text_viewer/tv_action.c b/apps/plugins/text_viewer/tv_action.c index 5226d90049..b8542daafe 100644 --- a/apps/plugins/text_viewer/tv_action.c +++ b/apps/plugins/text_viewer/tv_action.c @@ -84,7 +84,7 @@ void tv_scroll_up(unsigned mode) { offset_page--; #ifdef HAVE_LCD_BITMAP - offset_line = (preferences->page_mode == PM_OVERLAP)? 1:0; + offset_line = (preferences->overlap_page_mode)? 1:0; #endif } tv_move_screen(offset_page, offset_line, SEEK_CUR); @@ -100,7 +100,7 @@ void tv_scroll_down(unsigned mode) { offset_page++; #ifdef HAVE_LCD_BITMAP - offset_line = (preferences->page_mode == PM_OVERLAP)? -1:0; + offset_line = (preferences->overlap_page_mode)? -1:0; #endif } tv_move_screen(offset_page, offset_line, SEEK_CUR); |