From d808293a06671badd716dd94b93c0aae764a29cb Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 2 Oct 2005 14:50:44 +0200 Subject: Quoting CAM menu texts to see blanks in logfile --- menu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/menu.c b/menu.c index a3cbda6d..e43dbc95 100644 --- a/menu.c +++ b/menu.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.369 2005/10/02 14:38:27 kls Exp $ + * $Id: menu.c 1.370 2005/10/02 14:50:44 kls Exp $ */ #include "menu.h" @@ -1295,19 +1295,19 @@ cMenuCam::cMenuCam(cCiMenu *CiMenu) if (ciMenu->Selectable()) SetHasHotkeys(); SetTitle(*ciMenu->TitleText() ? ciMenu->TitleText() : "CAM"); - dsyslog("CAM: %s", ciMenu->TitleText()); + dsyslog("CAM: '%s'", ciMenu->TitleText()); if (*ciMenu->SubTitleText()) { Add(new cOsdItem(ciMenu->SubTitleText(), osUnknown, false)); offset = 1; - dsyslog("CAM: %s", ciMenu->SubTitleText()); + dsyslog("CAM: '%s'", ciMenu->SubTitleText()); } for (int i = 0; i < ciMenu->NumEntries(); i++) { Add(new cOsdItem(hk(ciMenu->Entry(i)))); - dsyslog("CAM: %s", ciMenu->Entry(i)); + dsyslog("CAM: '%s'", ciMenu->Entry(i)); } if (*ciMenu->BottomText()) { Add(new cOsdItem(ciMenu->BottomText(), osUnknown, false)); - dsyslog("CAM: %s", ciMenu->BottomText()); + dsyslog("CAM: '%s'", ciMenu->BottomText()); } Display(); } -- cgit v1.2.3