diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-10-03 13:37:24 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-10-03 13:37:24 +0200 |
commit | 1c9122ae03f02f184a3fa0f1a09c62fa7a571e7c (patch) | |
tree | 6d0e3cb4fea1206fcad0313706ed012a05252c06 /dvbapi.c | |
parent | 38626b1210c4e7e9ce488589a3ad8ca3936550d0 (diff) | |
download | vdr-1c9122ae03f02f184a3fa0f1a09c62fa7a571e7c.tar.gz vdr-1c9122ae03f02f184a3fa0f1a09c62fa7a571e7c.tar.bz2 |
Displaying as much as possible of the current/next info (dropping characters that would display only partially)
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbapi.c 1.29 2000/10/03 11:25:57 kls Exp $ + * $Id: dvbapi.c 1.30 2000/10/03 13:26:16 kls Exp $ */ #include "dvbapi.h" @@ -1583,7 +1583,7 @@ void cDvbApi::Text(int x, int y, const char *s, eDvbColor colorFg, eDvbColor col #ifdef DEBUG_OSD SetColor(colorFg, colorBg); wmove(window, y, x); // ncurses wants 'y' before 'x'! - waddstr(window, s); + waddnstr(window, s, cols - x); #else osd->Text(x * charWidth, y * lineHeight, s, colorFg, colorBg); #endif |