From 3a724626de63ec8db9d16fba0432b2db6f675739 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Tue, 10 Aug 2010 01:50:39 +0200 Subject: lyrics: use pthread_t instead of pthread_t * --- src/lyrics.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lyrics.h') diff --git a/src/lyrics.h b/src/lyrics.h index 39c2a108..3b440ced 100644 --- a/src/lyrics.h +++ b/src/lyrics.h @@ -30,7 +30,7 @@ class Lyrics : public Screen public: Lyrics() : ReloadNP(0), # ifdef HAVE_CURL_CURL_H - ReadyToTake(0), Downloader(0), + ReadyToTake(0), DownloadInProgress(0), # endif // HAVE_CURL_CURL_H itsScrollBegin(0) { } @@ -63,7 +63,6 @@ class Lyrics : public Screen void Load(); std::string itsFilenamePath; - static const std::string Folder; # ifdef HAVE_CURL_CURL_H @@ -72,7 +71,8 @@ class Lyrics : public Screen void Take(); bool ReadyToTake; - pthread_t *Downloader; + bool DownloadInProgress; + pthread_t Downloader; # endif // HAVE_CURL_CURL_H size_t itsScrollBegin; -- cgit v1.2.3