aboutsummaryrefslogtreecommitdiff
path: root/dosmain.c
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-09 00:13:13 +0200
committerJavier <dev.git@javispedro.com>2022-04-09 00:13:13 +0200
commit65da57db9f40a3f5e336ec9ae23dfad841dc1526 (patch)
tree395b5fe4b05fccfa933be0608a3b67cb834e85c9 /dosmain.c
parentda9c31fe6d586d78131f604ab7734b3632a9644d (diff)
downloadvbados-65da57db9f40a3f5e336ec9ae23dfad841dc1526.tar.gz
vbados-65da57db9f40a3f5e336ec9ae23dfad841dc1526.zip
fix missing \n
Diffstat (limited to 'dosmain.c')
-rw-r--r--dosmain.c8
1 files 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;
}