Changeset 20035


Ignore:
Timestamp:
02/11/13 22:02:51 (11 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/mediadbsettings.h

    r19176 r20035  
    8181                if(rcret == getrcconfigint("rcexit", NULL))
    8282                {
    83                         if(!file_exist(getconfig("mediadbpath", NULL)))
    84                         {
    85                                 if(textbox(_("Message"), _("No MediaDB Directory found\nPress OK to create it"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 1)
    86                                         mkdir(getconfig("mediadbpath", NULL), 0777);
    87                         }
    88 
    8983                        break;
    9084                }
     
    9589
    9690                        if(!file_exist(getconfig("mediadbpath", NULL)))
    97                                 mkdir(getconfig("mediadbpath", NULL), 0777);
     91                        {
     92                                if(textbox(_("Message"), _("No MediaDB Directory found\nPress OK to create it"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 1)
     93                                        mkdir(getconfig("mediadbpath", NULL), 0777);
     94                        }
    9895                       
    9996                        free(tmpstr); tmpstr = NULL;
Note: See TracChangeset for help on using the changeset viewer.