Changeset 3874 in MondoRescue for branches/3.3/mondo/src/common/newt-specific.c
- Timestamp:
- Mar 7, 2024, 7:23:09 PM (2 years ago)
- File:
-
- 1 edited
-
branches/3.3/mondo/src/common/newt-specific.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/common/newt-specific.c
r3871 r3874 1225 1225 /** 1226 1226 * Ask the user which backup media type they would like to use. 1227 * The choices are @p none (exit to shell), @c cdr, @c cdrw, @cdvd,1227 * The choices are @p none (exit to shell), @c cdr, @c dvd, 1228 1228 * @c tape, @c cdstream, @c udev (only when @p g_text_mode is TRUE), @c netfs, 1229 1229 * and @c iso. … … 1240 1240 char *title_sz = NULL; 1241 1241 char *minimsg_sz = NULL; 1242 static t_bkptype possible_bkptypes[] = { none, cdr, cdrw,dvd, tape, cdstream, udev, netfs, iso };1243 static char *possible_responses[] = { "none", "cdr", " cdrw", "dvd", "tape", "cdstream", "udev", "netfs", "iso", NULL };1242 static t_bkptype possible_bkptypes[] = { none, cdr, dvd, tape, cdstream, udev, netfs, iso }; 1243 static char *possible_responses[] = { "none", "cdr", "dvd", "tape", "cdstream", "udev", "netfs", "iso", NULL }; 1244 1244 char *outstr = NULL; 1245 1245 char *instr = NULL; … … 1289 1289 newtCenteredWindow(34, 17, minimsg_sz); 1290 1290 b1 = newtButton(1, 1, "CD-R disks "); 1291 b2 = newtButton(17, 1, "CD-RW disks");1292 1291 b3 = newtButton(1, 9, "Tape drive "); 1293 1292 b4 = newtButton(17, 5, "USB Key/Disk"); … … 1297 1296 b8 = newtButton(17, 13, " Exit "); 1298 1297 myForm = newtForm(NULL, NULL, 0); 1299 newtFormAddComponents(myForm, b1, b5, b3, b7, b 2, b4, b6, b8, NULL);1298 newtFormAddComponents(myForm, b1, b5, b3, b7, b4, b6, b8, NULL); 1300 1299 b_res = newtRunForm(myForm); 1301 1300 newtFormDestroy(myForm); … … 1303 1302 if (b_res == b1) { 1304 1303 output = cdr; 1305 } else if (b_res == b2) {1306 output = cdrw;1307 1304 } else if (b_res == b3) { 1308 1305 output = tape;
Note:
See TracChangeset
for help on using the changeset viewer.
