From: Jaakko Heinonen Date: Wed, 24 Apr 2002 07:26:12 +0000 (+0000) Subject: fixed an erroneous assertation X-Git-Tag: upstream/0.6.1~2^2~274 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=261eff0c8bda013b7017eca5c903c5799b1daee8;p=pkg%2Fabook.git fixed an erroneous assertation --- 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); }