Changeset 25568


Ignore:
Timestamp:
01/10/14 10:35:07 (9 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/titan.c

    r25567 r25568  
    867867//                      resettvpic();
    868868
    869 
    870                         struct menulist* mlist = NULL, *mbox = NULL;
    871                         addmenulist(&mlist, "RemoteControl Long Version", "0", NULL, 0, 0);
    872                         addmenulist(&mlist, "RemoteControl Old Version", "1", NULL, 0, 0);
    873                        
    874 //                      mbox = menulistbox(mlist, "playlistmenu", NULL, "%pluginpath%/mc/skin", NULL, 1, 0);
    875                         mbox = menulistbox(mlist, NULL, NULL, NULL, NULL, 1, 0);
    876                         if(mbox != NULL)
     869                        if(checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1)
    877870                        {
    878                                 free(title), title = NULL;
    879                                 free(tmpstr), tmpstr = NULL;
    880 
    881                                 debug(10, "mbox->name %s", mbox->name);
    882                                 debug(10, "mbox->text %s", mbox->text);
    883 
    884                                 title = ostrcat(mbox->text, NULL, 0, 0);
    885                                 flag = 1;
    886                                 goto start;
     871                                struct menulist* mlist = NULL, *mbox = NULL;
     872                                addmenulist(&mlist, "RemoteControl Long Version", "0", NULL, 0, 0);
     873                                addmenulist(&mlist, "RemoteControl Old Version", "1", NULL, 0, 0);
     874                               
     875        //                      mbox = menulistbox(mlist, "playlistmenu", NULL, "%pluginpath%/mc/skin", NULL, 1, 0);
     876                                mbox = menulistbox(mlist, NULL, NULL, NULL, NULL, 1, 0);
     877                                if(mbox != NULL)
     878                                {
     879                                        debug(10, "mbox->name %s", mbox->name);
     880                                        debug(10, "mbox->text %s", mbox->text);
     881                                }
    887882                        }
    888                        
    889                         screentunerconfig();
    890                         resettvpic();
    891                         screenscanconfig(1);
    892                         resettvpic();
    893 //                      screennetwork_adapter();
    894 //                      resettvpic();
    895                         writevfd("Setting OK ?");
    896                         if(textbox(_("First Wizzard"), _("Settings OK ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 2)
     883                        else
    897884                        {
    898                                 goto firstwizzardstep1;
     885                                screentunerconfig();
     886                                resettvpic();
     887                                screenscanconfig(1);
     888                                resettvpic();
     889        //                      screennetwork_adapter();
     890        //                      resettvpic();
     891                                writevfd("Setting OK ?");
     892                                if(textbox(_("First Wizzard"), _("Settings OK ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 2)
     893                                {
     894                                        goto firstwizzardstep1;
     895                                }
    899896                        }
    900897                        resettvpic();
Note: See TracChangeset for help on using the changeset viewer.