X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=abook_rl.c;h=55b303965cfaa972caacbc280357991694f03f3a;hb=5840fceb1f91b066a4c4361b0599c417aa111386;hp=285b6622a65a952e9758805b07855460fd3de78c;hpb=3a11d9375ffcc845b06b44dd90967d7746d099d5;p=pkg%2Fabook.git diff --git a/abook_rl.c b/abook_rl.c index 285b662..55b3039 100644 --- a/abook_rl.c +++ b/abook_rl.c @@ -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." @@ -166,7 +166,7 @@ abook_rl_init(bool use_completion) } char * -abook_readline(WINDOW *w, int y, int x, char *s, int limit, bool use_completion) +abook_readline(WINDOW *w, int y, int x, char *s, bool use_completion) { char *ret;