diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-01-08 10:45:00 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-08 10:45:00 +0100 |
commit | 124e9c1cb62539a78e01af7f80c28e3a029af874 (patch) | |
tree | 68812450094d15cc5a1e5b5b45f2fb390d1ea3d5 /apps/screen_access.c | |
parent | 51d8a45057d47c6d36d5027c8f8d7db7c964f5ff (diff) | |
download | rockbox-124e9c1cb62539a78e01af7f80c28e3a029af874.tar.gz rockbox-124e9c1cb62539a78e01af7f80c28e3a029af874.zip |
Fix put_line via multiscreen API on remotes. Stupid me.
Change-Id: Id75dfd6ab3957dd27cb7db6f8776f754d85c19b4
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r-- | apps/screen_access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c index 1c339d9705..fe5e943cca 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c @@ -105,7 +105,7 @@ static void screen_helper_put_line(int x, int y, struct line_desc *line, { va_list ap; va_start(ap, fmt); - vput_line(&screens[0], x, y, line, fmt, ap); + vput_line(&screens[SCREEN_MAIN], x, y, line, fmt, ap); va_end(ap); } @@ -170,7 +170,7 @@ static void screen_helper_remote_put_line(int x, int y, struct line_desc *line, { va_list ap; va_start(ap, fmt); - vput_line(&screens[0], x, y, line, fmt, ap); + vput_line(&screens[SCREEN_REMOTE], x, y, line, fmt, ap); va_end(ap); } |