From c6f8a149574f4e5196f802439e7439406ca82e71 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 10 Jun 2007 13:02:43 +0200 Subject: Freetype font support; full UTF-8 support; dropped pixel fonts --- sdt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sdt.c') diff --git a/sdt.c b/sdt.c index f42b0855..29422d8a 100644 --- a/sdt.c +++ b/sdt.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: sdt.c 1.16 2006/04/15 14:12:21 kls Exp $ + * $Id: sdt.c 1.17 2007/06/10 08:50:49 kls Exp $ */ #include "sdt.h" @@ -56,9 +56,9 @@ void cSdtFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length case 0x04: // NVOD reference service case 0x05: // NVOD time-shifted service { - char NameBuf[1024]; - char ShortNameBuf[1024]; - char ProviderNameBuf[1024]; + char NameBuf[Utf8BufSize(1024)]; + char ShortNameBuf[Utf8BufSize(1024)]; + char ProviderNameBuf[Utf8BufSize(1024)]; sd->serviceName.getText(NameBuf, ShortNameBuf, sizeof(NameBuf), sizeof(ShortNameBuf)); char *pn = compactspace(NameBuf); char *ps = compactspace(ShortNameBuf); -- cgit v1.2.3