summaryrefslogtreecommitdiff
path: root/interface.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-25 13:27:26 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-25 13:27:26 +0200
commit14d3933d91af23a9d79c083163fe6f0281475001 (patch)
treecafb1cc5bb640d02f0a615a9d00c3511f5b7db40 /interface.c
parent8edfaa2345140bb35eeaa29e08940eb665389a65 (diff)
downloadvdr-14d3933d91af23a9d79c083163fe6f0281475001.tar.gz
vdr-14d3933d91af23a9d79c083163fe6f0281475001.tar.bz2
The menus and the channel display now show the current date and time
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface.c b/interface.c
index e2d83b35..1e06f4af 100644
--- a/interface.c
+++ b/interface.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: interface.c 1.40 2001/08/07 16:23:28 kls Exp $
+ * $Id: interface.c 1.41 2001/08/25 13:15:00 kls Exp $
*/
#include "interface.h"
@@ -271,7 +271,7 @@ void cInterface::Title(const char *s)
unsigned int n = t - s;
if (n >= sizeof(buffer))
n = sizeof(buffer) - 1;
- strn0cpy(buffer, s, n);
+ strn0cpy(buffer, s, n + 1);
Write(1, 0, buffer, clrBlack, clrCyan);
t++;
Write(-(cDvbApi::PrimaryDvbApi->WidthInCells(t) + 1), 0, t, clrBlack, clrCyan);