From e70dee40008c50bb1f2b9fa655ff054487226b09 Mon Sep 17 00:00:00 2001 From: Patrick Hallen Date: Wed, 11 Feb 2009 20:07:07 +0100 Subject: [PATCH] screen_utils: Moved the colons of the prompts to wreadln. Moved the colons of the find prompts to wreadln to simplify translation. --- src/screen_utils.c | 4 ++-- src/wreadln.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/screen_utils.c b/src/screen_utils.c index 26f8811..d168d22 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -29,8 +29,8 @@ #include #include -#define FIND_PROMPT _("Find: ") -#define RFIND_PROMPT _("Find backward: ") +#define FIND_PROMPT _("Find") +#define RFIND_PROMPT _("Find backward") void screen_bell(void) diff --git a/src/wreadln.c b/src/wreadln.c index b657941..7261bba 100644 --- a/src/wreadln.c +++ b/src/wreadln.c @@ -408,8 +408,10 @@ _wreadln(WINDOW *w, /* make shure the cursor is visible */ curs_set(1); /* print prompt string */ - if (prompt) + if (prompt) { waddstr(w, prompt); + waddstr(w, ": "); + } /* retrive y and x0 position */ getyx(w, wr.y, wr.x); /* check the x1 value */ -- 2.30.2