summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/screen_access.c4
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);
}