From 3fbf8bf169ed4382d1a6efdf64b9691a60dc53a1 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 23 Apr 2022 20:09:57 +0300 Subject: [PATCH 52/52] gtk: Add newline after error message about illegal --resolution See osdn #44120 Signed-off-by: Marko Lindqvist --- client/gui-gtk-3.22/gui_main.c | 2 +- client/gui-gtk-4.0/gui_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/gui-gtk-3.22/gui_main.c b/client/gui-gtk-3.22/gui_main.c index 83a683a9df..899fb5f1cf 100644 --- a/client/gui-gtk-3.22/gui_main.c +++ b/client/gui-gtk-3.22/gui_main.c @@ -314,7 +314,7 @@ static void parse_options(int argc, char **argv) } 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-4.0/gui_main.c b/client/gui-gtk-4.0/gui_main.c index fb0f7b33e0..c74a4375cd 100644 --- a/client/gui-gtk-4.0/gui_main.c +++ b/client/gui-gtk-4.0/gui_main.c @@ -303,7 +303,7 @@ static void parse_options(int argc, char **argv) } 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