From: Patrick Hallen Date: Wed, 11 Feb 2009 19:07:07 +0000 (+0100) Subject: screen_utils: Moved the colons of the prompts to wreadln. X-Git-Tag: release-0.14~106 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e70dee40008c50bb1f2b9fa655ff054487226b09;p=ncmpc.git screen_utils: Moved the colons of the prompts to wreadln. Moved the colons of the find prompts to wreadln to simplify translation. --- 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 */