]> git.deb.at Git - pkg/abook.git/blobdiff - ui.c
- fix localized keybindings with --disable-nls
[pkg/abook.git] / ui.c
diff --git a/ui.c b/ui.c
index d8bcf4a6244db0b359e164a9b328dfe77cd87847..0bfe4e3f6e03e3f795f6d3d9057edd69950ef363 100644 (file)
--- a/ui.c
+++ b/ui.c
@@ -305,7 +305,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;
@@ -326,7 +326,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);
@@ -362,7 +362,7 @@ refresh_statusline()
 }
 
 char *
-ask_filename(char *prompt)
+ask_filename(const char *prompt)
 {
        char *buf = NULL;