From bc5833193b2d358861949a34ed43d51016903ea9 Mon Sep 17 00:00:00 2001 From: Marten Richter Date: Sun, 9 Dec 2012 19:01:25 +0100 Subject: [PATCH] Fix option numbers --- vopts.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vopts.cc b/vopts.cc index 6d9e248..6c92584 100644 --- a/vopts.cc +++ b/vopts.cc @@ -247,7 +247,7 @@ VOpts::VOpts() const char * * fontnames_keys; int numfonts=Osd::getInstance()->getFontNames(&fontnames,&fontnames_keys); if (numfonts) { - option = new Option(15, "Font Name", "Advanced", "Font Name", Option::TYPE_KEYED_TEXT, numfonts, 1, 0, fontnames,fontnames_keys); + option = new Option(17, "Font Name", "Advanced", "Font Name", Option::TYPE_KEYED_TEXT, numfonts, 1, 0, fontnames,fontnames_keys); options.push_back(option); wop->addOptionLine(option); } @@ -441,7 +441,7 @@ void VOpts::doSave() VDR::getInstance()->setReceiveWindow(newTCPsize); break; } - case 15: { + case 17: { Osd::getInstance()->setFont(options[i]->optionkeys[options[i]->userSetChoice]); } break; } -- 2.39.5