Changeset 28236
- Timestamp:
- 04/01/14 14:53:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/restoredefault.h
r27845 r28236 61 61 struct menulist* mlist = NULL, *mbox = NULL; 62 62 63 addmenulist(&mlist, _("Restore default settings"), NULL, NULL, 0, 0); 63 // needed for autopo 64 char* tmpstr = NULL; 65 tmpstr = ostrcat(tmpstr, _("Restore default settings"), 1, 0); 66 tmpstr = ostrcat(tmpstr, _("Format MNT with Backup/Restore"), 1, 0); 67 tmpstr = ostrcat(tmpstr, _("Format MNT (all)"), 1, 0); 68 free(tmpstr), tmpstr = NULL; 69 70 addmenulist(&mlist, "Restore default settings", NULL, NULL, 0, 0); 64 71 if(checkbox("ATEMIO5000") != 1 && checkbox("ATEMIO5200") != 1) 65 72 { 66 addmenulist(&mlist, _("Format MNT with Backup/Restore"), NULL, NULL, 0, 0);67 addmenulist(&mlist, _("Format MNT (all)"), NULL, NULL, 0, 0);73 addmenulist(&mlist, "Format MNT with Backup/Restore", NULL, NULL, 0, 0); 74 addmenulist(&mlist, "Format MNT (all)", NULL, NULL, 0, 0); 68 75 } 69 76 … … 72 79 if(mbox != NULL) 73 80 { 74 if(ostrcmp(mbox->name, _("Restore default settings")) == 0)81 if(ostrcmp(mbox->name, "Restore default settings") == 0) 75 82 { 76 83 screenrestoredefault(); 77 84 } 78 else if(ostrcmp(mbox->name, _("Format MNT with Backup/Restore")) == 0)85 else if(ostrcmp(mbox->name, "Format MNT with Backup/Restore") == 0) 79 86 { 80 87 screenbackuperaseswap(); 81 88 } 82 else if(ostrcmp(mbox->name, _("Format MNT (all)")) == 0)89 else if(ostrcmp(mbox->name, "Format MNT (all)") == 0) 83 90 { 84 91 screeneraseswap();
Note: See TracChangeset
for help on using the changeset viewer.