diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-07-12 20:52:15 +0000 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-07-12 20:52:15 +0000 |
commit | b29d9600dc05ef9aec5db5a40bf6de7c219fcff5 (patch) | |
tree | acf2c98bcb427386dd2c59e4cece09d690fe4c87 | |
parent | 7b003f8aaafc2d95dcf7c9dfc5cbc6288b37915c (diff) | |
download | vdr-plugin-live-b29d9600dc05ef9aec5db5a40bf6de7c219fcff5.tar.gz vdr-plugin-live-b29d9600dc05ef9aec5db5a40bf6de7c219fcff5.tar.bz2 |
- Fixes missing caption in recordings info box.
-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; } |