summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamel5 <kamel5 (at) gmx (dot) net>2018-03-29 10:23:51 +0200
committerkamel5 <kamel5 (at) gmx (dot) net>2018-03-29 10:23:51 +0200
commit8ab8be6776c550c416c93abc9e6dc498a36e6229 (patch)
tree967c0999afbd8c7971e9b4edd60d4342f6d54905
parent2c2ba798be7ba55c78fb94f59c716ebf6220ab8c (diff)
downloadskin-lcarsng-8ab8be6776c550c416c93abc9e6dc498a36e6229.tar.gz
skin-lcarsng-8ab8be6776c550c416c93abc9e6dc498a36e6229.tar.bz2
int NumRecordingsInPath = 0;
-rw-r--r--lcarsng.c4
1 files changed, 3 insertions, 1 deletions
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());