summaryrefslogtreecommitdiff
path: root/displaymenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'displaymenu.c')
-rw-r--r--displaymenu.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/displaymenu.c b/displaymenu.c
index db7dd733..54c79e91 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -1429,6 +1429,7 @@ bool cFlatDisplayMenu::SetItemRecording(const cRecording *Recording, int Index,
cString buffer;
cString RecName = GetRecordingName(Recording, Level, Total == 0);
+
int y = Index * itemRecordingHeight;
int Height = fontHeight;
@@ -2412,9 +2413,6 @@ const char * cFlatDisplayMenu::GetRecordingName(const cRecording *Recording, int
tokens.push_back(s);
}
recNamePart = tokens.at(Level);
- if(!isFolder && Recording->IsEdited() ) {
- recNamePart = recNamePart.substr(1);
- }
} catch (...) {
recNamePart = recName.c_str();
}
@@ -2424,7 +2422,6 @@ const char * cFlatDisplayMenu::GetRecordingName(const cRecording *Recording, int
recNamePart.erase(0, 1);
}
}
-
return recNamePart.c_str();
}