diff options
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, | |||
105 | { | 105 | { |
106 | va_list ap; | 106 | va_list ap; |
107 | va_start(ap, fmt); | 107 | va_start(ap, fmt); |
108 | vput_line(&screens[0], x, y, line, fmt, ap); | 108 | vput_line(&screens[SCREEN_MAIN], x, y, line, fmt, ap); |
109 | va_end(ap); | 109 | va_end(ap); |
110 | } | 110 | } |
111 | 111 | ||
@@ -170,7 +170,7 @@ static void screen_helper_remote_put_line(int x, int y, struct line_desc *line, | |||
170 | { | 170 | { |
171 | va_list ap; | 171 | va_list ap; |
172 | va_start(ap, fmt); | 172 | va_start(ap, fmt); |
173 | vput_line(&screens[0], x, y, line, fmt, ap); | 173 | vput_line(&screens[SCREEN_REMOTE], x, y, line, fmt, ap); |
174 | va_end(ap); | 174 | va_end(ap); |
175 | } | 175 | } |
176 | 176 | ||