From 42eead8725869994383de81bd15809024a60c2e4 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 23 Apr 2022 20:13:47 +0300 Subject: [PATCH 35/35] gtk: Add newline after error message about illegal --resolution See osdn #44120 Signed-off-by: Marko Lindqvist --- client/gui-gtk-3.0/gui_main.c | 2 +- client/gui-gtk-3.22/gui_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/gui-gtk-3.0/gui_main.c b/client/gui-gtk-3.0/gui_main.c index cfbea02525..d95a257961 100644 --- a/client/gui-gtk-3.0/gui_main.c +++ b/client/gui-gtk-3.0/gui_main.c @@ -302,7 +302,7 @@ static void parse_options(int argc, char **argv) gtk_warns_enabled = TRUE; } else if ((option = get_option_malloc("--resolution", argv, &i, argc, FALSE))) { if (!string_to_video_mode(option, &vmode)) { - fc_fprintf(stderr, _("Illegal video mode '%s'"), option); + fc_fprintf(stderr, _("Illegal video mode '%s'\n"), option); exit(EXIT_FAILURE); } free(option); diff --git a/client/gui-gtk-3.22/gui_main.c b/client/gui-gtk-3.22/gui_main.c index fbedf47efe..8495aed360 100644 --- a/client/gui-gtk-3.22/gui_main.c +++ b/client/gui-gtk-3.22/gui_main.c @@ -285,7 +285,7 @@ static void parse_options(int argc, char **argv) exit(EXIT_SUCCESS); } else if ((option = get_option_malloc("--resolution", argv, &i, argc, FALSE))) { if (!string_to_video_mode(option, &vmode)) { - fc_fprintf(stderr, _("Illegal video mode '%s'"), option); + fc_fprintf(stderr, _("Illegal video mode '%s'\n"), option); exit(EXIT_FAILURE); } free(option); -- 2.35.1