X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=ui.c;fp=ui.c;h=d42f26e9eb78597e91b536573c7c731db2d16431;hb=ec21e25ffd8fe61704ae3588bcad4570de2946ac;hp=0fc8273d3ab8bb754bf8e9ee0768d1405323565f;hpb=c6f9aac99da7e21fb3d717fe82f80382361a5dff;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;