From 1d3495a0f09b1949efbba553a3d2a152ad2be617 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 19 Dec 2004 16:33:34 +0100 Subject: Made several functions threadsafe --- osd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'osd.c') diff --git a/osd.c b/osd.c index 6944e675..8b10f74f 100644 --- a/osd.c +++ b/osd.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.c 1.58 2004/10/16 10:31:34 kls Exp $ + * $Id: osd.c 1.59 2004/12/19 12:27:38 kls Exp $ */ #include "osd.h" @@ -197,7 +197,8 @@ bool cBitmap::LoadXpm(const char *FileName) int lines = 0; int index = 0; char *s; - while ((s = readline(f)) != NULL) { + cReadLine ReadLine; + while ((s = ReadLine.Read(f)) != NULL) { s = skipspace(s); if (!isXpm) { if (strcmp(s, "/* XPM */") != 0) { -- cgit v1.2.3