From 261eff0c8bda013b7017eca5c903c5799b1daee8 Mon Sep 17 00:00:00 2001 From: Jaakko Heinonen Date: Wed, 24 Apr 2002 07:26:12 +0000 Subject: [PATCH] fixed an erroneous assertation --- options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options.c b/options.c index 4e65f5a..fa05313 100644 --- a/options.c +++ b/options.c @@ -109,7 +109,7 @@ opt_get_int(enum int_opts opt) bool opt_get_bool(enum bool_opts opt) { - assert(opt >= 0 && opt < STR_MAX); + assert(opt >= 0 && opt < BOOL_MAX); return bool_opts[opt]; } @@ -361,7 +361,7 @@ load_opts(char *filename) free(line); if(err) { - printf("Press any key to continue...\n"); + printf("Press enter to continue...\n"); fgetc(stdin); } -- 2.39.2