summaryrefslogtreecommitdiff
path: root/interface.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-04 15:51:03 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-04 15:51:03 +0100
commitd5d97c3d18bfcac089d6200106fe190d36726345 (patch)
tree4472ad32dac93c910fd6f9c1cc95ff448830490b /interface.c
parenta4ed08b37a1491b516d93a761f82fce6852f2129 (diff)
downloadvdr-d5d97c3d18bfcac089d6200106fe190d36726345.tar.gz
vdr-d5d97c3d18bfcac089d6200106fe190d36726345.tar.bz2
Removed an obsolete "Summary" text from i18n.c and preceded all key definition texts with "Key$" to avoid duplicates
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/interface.c b/interface.c
index 56084784..b2e842da 100644
--- a/interface.c
+++ b/interface.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: interface.c 1.70 2005/11/27 15:31:06 kls Exp $
+ * $Id: interface.c 1.71 2006/01/04 15:44:19 kls Exp $
*/
#include "interface.h"
@@ -84,7 +84,9 @@ bool cInterface::QueryKeys(cRemote *Remote, cSkinDisplayMenu *DisplayMenu)
eKeys NewKey = kUp;
while (NewKey != kNone) {
char *Prompt;
- asprintf(&Prompt, tr("Press key for '%s'"), tr(cKey::ToString(NewKey)));
+ char buf[32];
+ snprintf(buf, sizeof(buf), "Key$%s", cKey::ToString(NewKey));
+ asprintf(&Prompt, tr("Press key for '%s'"), tr(buf));
DisplayMenu->SetItem(Prompt, 4, false, false);
free(Prompt);
cRemote::Clear();