summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-04-20 09:06:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-04-20 09:06:51 +0200
commit59aecc02543712f13913cb8c043865a692336c7d (patch)
tree37f225c84e915595e577cec92b61cec891fe7c77 /menu.c
parent69d32fae060c11d8fcc65561e3a67ed50b9bca9b (diff)
downloadvdr-59aecc02543712f13913cb8c043865a692336c7d.tar.gz
vdr-59aecc02543712f13913cb8c043865a692336c7d.tar.bz2
Improved enhanced string editing (cont'd)
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 899f60ac..147ef735 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.185 2002/04/19 15:46:14 kls Exp $
+ * $Id: menu.c 1.186 2002/04/20 09:06:51 kls Exp $
*/
#include "menu.h"
@@ -585,6 +585,8 @@ void cMenuEditStrItem::Set(void)
buf[i] = '>';
buf[i + 1] = 0;
}
+ else
+ i--;
while (i >= 0 && w <= width)
w += cDvbApi::PrimaryDvbApi->Width(buf[i--]);
buf[++i] = '<';