summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_preferences.c
diff options
context:
space:
mode:
authorYoshihisa Uchida <uchida@rockbox.org>2010-06-26 09:14:53 +0000
committerYoshihisa Uchida <uchida@rockbox.org>2010-06-26 09:14:53 +0000
commitac622c6d673c708d48527db8a189401422a5d03c (patch)
treefb6bbde022027ccf24b2cb1be49a3c7369cf45e0 /apps/plugins/text_viewer/tv_preferences.c
parentbe70fd89be787e2b24604f9ba785b87c1f8f1d22 (diff)
downloadrockbox-ac622c6d673c708d48527db8a189401422a5d03c.tar.gz
rockbox-ac622c6d673c708d48527db8a189401422a5d03c.zip
text viewer: reworks screen access logics and some bugs fix.
- screen access logics separte from tv_window. (new tv_display.[ch]) - using multi screen api. - (bug fix) the head of the each line is not normally displayed when the alignment is RIGHT. - (bug fix) unnecessary blank line is not displayed. (a part of FS#11400). - (bug fix) the order by which callback functions were called was not correct. (FIFO->FILO) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27138 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/text_viewer/tv_preferences.c')
-rw-r--r--apps/plugins/text_viewer/tv_preferences.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/text_viewer/tv_preferences.c b/apps/plugins/text_viewer/tv_preferences.c
index 30b5f5ce51..72cda9d00f 100644
--- a/apps/plugins/text_viewer/tv_preferences.c
+++ b/apps/plugins/text_viewer/tv_preferences.c
@@ -62,7 +62,8 @@ static void tv_notify_change_preferences(const struct tv_preferences *oldp)
62#endif 62#endif
63 (rb->strcmp(oldp->file_name, preferences->file_name))) 63 (rb->strcmp(oldp->file_name, preferences->file_name)))
64 { 64 {
65 for (i = 0; i < listner_count; i++) 65 /* callback functions are called as FILO */
66 for (i = listner_count - 1; i >= 0; i--)
66 listners[i](oldp); 67 listners[i](oldp);
67 } 68 }
68} 69}