From 40e98a2e4915464b9306ab7b0f6feb173de095c5 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 26 Oct 2020 12:38:22 -0400 Subject: Whitespace cleanup on fb_viewport Rewrite Change-Id: I24aac41c8abecf7b78a44d7f59e842b791be4563 --- apps/gui/yesno.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/gui/yesno.c') diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c index d70b66f230..e0d8ad457c 100644 --- a/apps/gui/yesno.c +++ b/apps/gui/yesno.c @@ -34,7 +34,7 @@ struct gui_yesno { const struct text_message * main_message; const struct text_message * result_message[2]; - + struct viewport *vp; struct screen * display; }; @@ -63,12 +63,12 @@ static int put_message(struct screen *display, int i; for(i=0; inb_lines && i+startputs_scroll(0, i+start, + display->puts_scroll(0, i+start, P2STR((unsigned char *)message->message_lines[i])); } return i; } - + /* * Draws the yesno * - yn : the yesno structure @@ -87,7 +87,7 @@ static void gui_yesno_draw(struct gui_yesno * yn) if(nb_lines+3< vp_lines) line_shift=1; - + line_shift += put_message(display, yn->main_message, line_shift, vp_lines); #ifdef HAVE_TOUCHSCREEN @@ -216,7 +216,7 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message, if (global_settings.talk_menu) { - talk_text_message((result == YESNO_YES) ? yes_message + talk_text_message((result == YESNO_YES) ? yes_message : no_message, false); talk_force_enqueue_next(); } -- cgit v1.2.3