summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2256978)
raw | patch | inline | side by side (parent: 2256978)
author | Patrick Hallen <patrick.hallen@rwth-aachen.de> | |
Wed, 11 Feb 2009 19:07:07 +0000 (20:07 +0100) | ||
committer | Patrick Hallen <patrick.hallen@rwth-aachen.de> | |
Wed, 11 Feb 2009 19:07:07 +0000 (20:07 +0100) |
Moved the colons of the find prompts to wreadln to simplify translation.
src/screen_utils.c | patch | blob | history | |
src/wreadln.c | patch | blob | history |
diff --git a/src/screen_utils.c b/src/screen_utils.c
index 26f8811a7bb9fc901379a0d8a0f7f960160a7bc8..d168d22502d09c7985560d44f0ef39dae0606eb7 100644 (file)
--- a/src/screen_utils.c
+++ b/src/screen_utils.c
#include <stdlib.h>
#include <unistd.h>
-#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 b6579410a3bf5b9adbd1605042ae49cac8217887..7261bba418d2e86e0d8b91e9371df255ad0cd924 100644 (file)
--- a/src/wreadln.c
+++ b/src/wreadln.c
/* 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 */