diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-04-20 09:06:51 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-04-20 09:06:51 +0200 |
commit | 59aecc02543712f13913cb8c043865a692336c7d (patch) | |
tree | 37f225c84e915595e577cec92b61cec891fe7c77 /menu.c | |
parent | 69d32fae060c11d8fcc65561e3a67ed50b9bca9b (diff) | |
download | vdr-59aecc02543712f13913cb8c043865a692336c7d.tar.gz vdr-59aecc02543712f13913cb8c043865a692336c7d.tar.bz2 |
Improved enhanced string editing (cont'd)
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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] = '<'; |