]> git.deb.at Git - pkg/abook.git/blobdiff - abook_rl.c
- sanitize a comment and warning message
[pkg/abook.git] / abook_rl.c
index 6e6fe0087cc05fe38e75b063220c57b6ef2d284a..704d29377e4d9092ae6c929c51032fa63df325d2 100644 (file)
@@ -21,7 +21,7 @@
 #elif defined(HAVE_READLINE_H)
 #       include <readline.h>
 #else
-#      error "You don't seem to have readhline.h"
+#      error "You don't seem to have readline.h"
 #      error "No HAVE_READLINE_READLINE_H or HAVE_READLINE_H defined"
 #endif
 
@@ -95,11 +95,11 @@ rline_prep_terminal(int dummy)
        /* nothing */
 #else
        /*
-        * #warning is an extension which all compilers don't support
+        * #warning is an extension. Not all compilers support it.
         */
 #      ifdef __GNUC__
 #              warning "You seem to have rather old readline version or \
-non-GNU version of the readline. If you have problems please use \
+non-GNU version of it. If you have problems please use \
 GNU readline 4.3 or newer. \
 GNU readline versions 4.0, 4.1 and 4.2 should be OK despite \
 of this warning."