Changeset 18236


Ignore:
Timestamp:
Oct 14, 2012, 6:04:54 PM (8 years ago)
Author:
obi
Message:

fix

Location:
titan/plugins/mc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/mc/mc_videoplayer.h

    r18228 r18236  
    719719                                        else
    720720                                        {
    721                                                 if(playertype == 0 && getconfigint("mc_vp_showlastpos", NULL) == 1)
     721                                                if(playertype == 0 && getconfigint("showlastpos", NULL) == 1)
    722722                                                {
    723723                                                        char* tmpfilename = ostrcat(filename, NULL, 0, 0);
  • titan/plugins/mc/mc_videoplayer_settings.h

    r18228 r18236  
    1414        struct skin* autoscan = getscreennode(mc_videoplayer_settings, "autoscan");
    1515        struct skin* autostart_playlist = getscreennode(mc_videoplayer_settings, "autostart_playlist");
    16         struct skin* showlastpos = getscreennode(mc_videoplayer_settings, "showlastpos");
    1716        struct skin* defaultdir = getscreennode(mc_videoplayer_settings, "defaultdir");
    1817        struct skin* uselastdir = getscreennode(mc_videoplayer_settings, "uselastdir");
     
    4241        setchoiceboxselection(autoscan, getconfig("mc_vp_autoscan", NULL));
    4342
    44         addchoicebox(showlastpos, "0", _("no"));       
    45         addchoicebox(showlastpos, "1", _("yes"));
    46         setchoiceboxselection(showlastpos, getconfig("mc_vp_showlastpos", NULL));
    47 
    4843        changeinput(defaultdir, getconfig("mc_vp_defaultdir", NULL));
    4944
     
    6964                        addconfigscreencheck("mc_vp_autoscan", autoscan, NULL);                 
    7065                        addconfigscreencheck("vp_autostart_playlist", autostart_playlist, NULL);               
    71                         addconfigscreencheck("mc_vp_showlastpos", showlastpos, NULL);
    7266                        addconfigscreen("mc_vp_defaultdir", defaultdir);
    7367                        addconfigscreencheck("mc_vp_uselastdir", uselastdir, NULL);
Note: See TracChangeset for help on using the changeset viewer.