summaryrefslogtreecommitdiff
path: root/client/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu.c')
-rw-r--r--client/menu.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/client/menu.c b/client/menu.c
index 183e4e0..9d0b2b3 100644
--- a/client/menu.c
+++ b/client/menu.c
@@ -1,5 +1,5 @@
/*
- * $Id: menu.c,v 1.2 2005/02/08 14:09:27 lordjaxom Exp $
+ * $Id: menu.c,v 1.3 2005/02/08 17:22:35 lordjaxom Exp $
*/
#include <vdr/menuitems.h>
@@ -47,8 +47,6 @@ eOSState cStreamdevMenu::ProcessKey(eKeys Key) {
}
void cStreamdevMenu::SuspendServer(void) {
- cTBString buffer;
-
if (ClientSocket.SuspendServer())
INFO(tr("Server is suspended"));
else
@@ -1026,8 +1024,8 @@ eOSState cStreamdevMenuTimers::Summary(void) {
return osContinue;
cRemoteTimer *ti = CurrentTimer();
- if (ti && !ti->Summary().IsNull())
- return AddSubMenu(new cMenuText(tr("Summary"), ti->Summary()));
+ if (ti && ti->Summary() != "")
+ return AddSubMenu(new cMenuText(tr("Summary"), ti->Summary().c_str()));
return osContinue;
}