X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=ui.c;h=d42f26e9eb78597e91b536573c7c731db2d16431;hb=627bebd233fee0136a6ffbef005da3e62a87f99b;hp=0fc8273d3ab8bb754bf8e9ee0768d1405323565f;hpb=7c54e85b04f6d030ae47dd880d0391f6e35d1634;p=pkg%2Fabook.git diff --git a/ui.c b/ui.c index 0fc8273..d42f26e 100644 --- a/ui.c +++ b/ui.c @@ -1,6 +1,6 @@ /* - * $Id: ui.c,v 1.54 2005/10/05 11:03:36 jheinonen Exp $ + * $Id: ui.c,v 1.54.4.1 2006/04/09 18:57:34 jheinonen Exp $ * * by JH * @@ -306,7 +306,7 @@ statusline_askchoice(const char *msg, const char *choices, short dflt) } char * -ui_readline(char *prompt, char *s, size_t limit, bool use_completion) +ui_readline(const char *prompt, char *s, size_t limit, bool use_completion) { int y, x; char *ret; @@ -327,7 +327,7 @@ ui_readline(char *prompt, char *s, size_t limit, bool use_completion) } int -statusline_ask_boolean(char *msg, int def) +statusline_ask_boolean(const char *msg, int def) { int ret; char *msg2 = strconcat(msg, def ? _(" (Y/n)?") : _(" (y/N)?"), NULL); @@ -363,7 +363,7 @@ refresh_statusline() } char * -ask_filename(char *prompt) +ask_filename(const char *prompt) { char *buf = NULL;