Changeset 20035
- Timestamp:
- 02/11/13 22:02:51 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/mediadbsettings.h
r19176 r20035 81 81 if(rcret == getrcconfigint("rcexit", NULL)) 82 82 { 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 89 83 break; 90 84 } … … 95 89 96 90 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 } 98 95 99 96 free(tmpstr); tmpstr = NULL;
Note: See TracChangeset
for help on using the changeset viewer.