From 8ab8be6776c550c416c93abc9e6dc498a36e6229 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Thu, 29 Mar 2018 10:23:51 +0200 Subject: int NumRecordingsInPath = 0; --- lcarsng.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lcarsng.c') diff --git a/lcarsng.c b/lcarsng.c index c28e7ec..0158dcb 100644 --- a/lcarsng.c +++ b/lcarsng.c @@ -1885,6 +1885,9 @@ void cLCARSNGDisplayMenu::SetTitle(const char *Title) const cFont *font = cFont::GetFont(fontOsd); initial = true; currentTitle = NULL; +#ifdef USE_WAREAGLEICON + int NumRecordingsInPath = 0; +#endif /* WAREAGLEICON */ switch (MenuCategory()) { case mcMain: case mcSetup: @@ -1893,7 +1896,6 @@ void cLCARSNGDisplayMenu::SetTitle(const char *Title) break; case mcRecording: #ifdef USE_WAREAGLEICON - int NumRecordingsInPath = 0; { LOCK_RECORDINGS_READ; NumRecordingsInPath = Recordings->GetNumRecordingsInPath(cMenuRecordings::GetActualPath()); -- cgit v1.2.3