diff options
Diffstat (limited to 'epg_events.cpp')
-rw-r--r-- | epg_events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epg_events.cpp b/epg_events.cpp index e9524b3..049e27f 100644 --- a/epg_events.cpp +++ b/epg_events.cpp @@ -138,7 +138,7 @@ namespace vdrlive const string EpgRecording::Caption() const { - if (!m_ownCaption) { + if (m_ownCaption) { return EpgInfo::Caption(); } if (!m_recording) { @@ -196,7 +196,7 @@ namespace vdrlive string name(m_recording->Name()); size_t index = name.find_last_of('~'); if (index != string::npos) { - name = name.substr(index, name.length()); + name = name.substr(index+1); } return name; } |