1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Quoting CAM menu texts to see blanks in logfile

This commit is contained in:
Klaus Schmidinger 2005-10-02 14:50:44 +02:00
parent 11be63aa2c
commit d808293a06

10
menu.c
View File

@ -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();
}