diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2010-08-10 01:50:39 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2010-08-10 01:50:39 +0200 |
commit | 3a724626de63ec8db9d16fba0432b2db6f675739 (patch) | |
tree | 9eb4b31ef0d4d52dc7d3392f035509cf8459352e /src/lyrics.h | |
parent | 50581938e7e6c6d957b6bd2a808712efbe6679b9 (diff) |
lyrics: use pthread_t instead of pthread_t *
Diffstat (limited to 'src/lyrics.h')
-rw-r--r-- | src/lyrics.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<Scrollpad> 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<Scrollpad> void Load(); std::string itsFilenamePath; - static const std::string Folder; # ifdef HAVE_CURL_CURL_H @@ -72,7 +71,8 @@ class Lyrics : public Screen<Scrollpad> void Take(); bool ReadyToTake; - pthread_t *Downloader; + bool DownloadInProgress; + pthread_t Downloader; # endif // HAVE_CURL_CURL_H size_t itsScrollBegin; |