Fix put_line via multiscreen API on remotes. Stupid me.

Change-Id: Id75dfd6ab3957dd27cb7db6f8776f754d85c19b4
This commit is contained in:
Thomas Martitz 2014-01-08 10:45:00 +01:00
parent 51d8a45057
commit 124e9c1cb6

View file

@ -105,7 +105,7 @@ static void screen_helper_put_line(int x, int y, struct line_desc *line,
{ {
va_list ap; va_list ap;
va_start(ap, fmt); 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); 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_list ap;
va_start(ap, fmt); 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); va_end(ap);
} }