Fix option numbers
authorMarten Richter <marten.richter@freenet.de>
Sun, 9 Dec 2012 18:01:25 +0000 (19:01 +0100)
committerMarten Richter <marten.richter@freenet.de>
Sun, 9 Dec 2012 18:01:25 +0000 (19:01 +0100)
vopts.cc

index 6d9e24829d26f1c7dbcad69ad6f1dc823dda237f..6c92584f06d9dc81c660624863a7a9147a7ed251 100644 (file)
--- 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;
       }