]> git.deb.at Git - pkg/abook.git/commitdiff
fixed an erroneous assertation
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Wed, 24 Apr 2002 07:26:12 +0000 (07:26 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Wed, 24 Apr 2002 07:26:12 +0000 (07:26 +0000)
options.c

index 4e65f5ac10d79e163167dcb0d9a68d4e458537e9..fa0531352973a04d35e8f72686002d0922403ef5 100644 (file)
--- 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);
        }