From 124e9c1cb62539a78e01af7f80c28e3a029af874 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 8 Jan 2014 10:45:00 +0100 Subject: Fix put_line via multiscreen API on remotes. Stupid me. Change-Id: Id75dfd6ab3957dd27cb7db6f8776f754d85c19b4 --- apps/screen_access.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/screen_access.c') 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); } -- cgit v1.2.3