diff --git a/src/screen_utils.c b/src/screen_utils.c
index a5ccd58f44c062748d34c977fefcabbda898567b..9b3bfa26628d7f311f679917c74d108cf821c604 100644 (file)
--- a/src/screen_utils.c
+++ b/src/screen_utils.c
}
int
-screen_getch(WINDOW *w, char *prompt)
+screen_getch(WINDOW *w, const char *prompt)
{
int key = -1;
int prompt_len = strlen(prompt);
char *
screen_readln(WINDOW *w,
- char *prompt,
- char *value,
+ const char *prompt,
+ const char *value,
GList **history,
GCompletion *gcmp)
{
}
char *
-screen_getstr(WINDOW *w, char *prompt)
+screen_getstr(WINDOW *w, const char *prompt)
{
return screen_readln(w, prompt, NULL, NULL, NULL);
}
char *
-screen_read_password(WINDOW *w, char *prompt)
+screen_read_password(WINDOW *w, const char *prompt)
{
if(w == NULL)
{
{
int reversed = 0;
int retval = 0;
- char *prompt = FIND_PROMPT;
+ const char *prompt = FIND_PROMPT;
char *value = options.find_show_last_pattern ? (char *) -1 : NULL;
if (findcmd == CMD_LIST_RFIND || findcmd == CMD_LIST_RFIND_NEXT) {
}
void
-set_xterm_title(char *format, ...)
+set_xterm_title(const char *format, ...)
{
/* the current xterm title exists under the WM_NAME property */
/* and can be retreived with xprop -id $WINDOWID */