diff options
Diffstat (limited to 'sources.c')
-rw-r--r-- | sources.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: sources.c 1.2 2004/01/11 10:36:57 kls Exp $ + * $Id: sources.c 1.3 2004/12/26 11:58:52 kls Exp $ */ #include "sources.h" @@ -32,9 +32,9 @@ bool cSource::Parse(const char *s) return code != stNone && description && *description; } -const char *cSource::ToString(int Code) +cString cSource::ToString(int Code) { - static char buffer[16]; + char buffer[16]; char *q = buffer; switch (Code & st_Mask) { case stCable: *q++ = 'C'; break; |