summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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] = '<';