mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Improved enhanced string editing (cont'd)
This commit is contained in:
parent
69d32fae06
commit
59aecc0254
4
menu.c
4
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "menu.h"
|
||||||
@ -585,6 +585,8 @@ void cMenuEditStrItem::Set(void)
|
|||||||
buf[i] = '>';
|
buf[i] = '>';
|
||||||
buf[i + 1] = 0;
|
buf[i + 1] = 0;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
i--;
|
||||||
while (i >= 0 && w <= width)
|
while (i >= 0 && w <= width)
|
||||||
w += cDvbApi::PrimaryDvbApi->Width(buf[i--]);
|
w += cDvbApi::PrimaryDvbApi->Width(buf[i--]);
|
||||||
buf[++i] = '<';
|
buf[++i] = '<';
|
||||||
|
Loading…
Reference in New Issue
Block a user