From 65da57db9f40a3f5e336ec9ae23dfad841dc1526 Mon Sep 17 00:00:00 2001 From: Javier Date: Sat, 9 Apr 2022 00:13:13 +0200 Subject: fix missing \n --- dosmain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dosmain.c b/dosmain.c index 7aab278..9a802c6 100644 --- a/dosmain.c +++ b/dosmain.c @@ -65,11 +65,11 @@ static int set_wheel_key(LPTSRDATA data, const char *keyname) if (stricmp(keyname, "updn") == 0) { data->wheel_up_key = 0x4800; data->wheel_down_key = 0x5000; - printf("Generate Up Arrow / Down Arrow key presses on wheel movement"); + printf("Generate Up Arrow / Down Arrow key presses on wheel movement\n"); } else if (stricmp(keyname, "pageupdn") == 0) { data->wheel_up_key = 0x4900; data->wheel_down_key = 0x5100; - printf("Generate PageUp / PageDown key presses on wheel movement"); + printf("Generate PageUp / PageDown key presses on wheel movement\n"); } else { fprintf(stderr, "Unknown key '%s'\n", keyname); return EXIT_FAILURE; @@ -499,14 +499,14 @@ static void print_help(void) static int invalid_arg(const char *s) { - fprintf(stderr, "Invalid argument '%s'", s); + fprintf(stderr, "Invalid argument '%s'\n", s); print_help(); return EXIT_FAILURE; } static int arg_required(const char *s) { - fprintf(stderr, "Argument required for '%s'", s); + fprintf(stderr, "Argument required for '%s'\n", s); print_help(); return EXIT_FAILURE; } -- cgit v1.2.3