Ignore:
Timestamp:
Mar 7, 2024, 7:23:09 PM (2 years ago)
Author:
Bruno Cornec
Message:

remove differentiated support for cdrw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/newt-specific.c

    r3871 r3874  
    12251225/**
    12261226 * 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, @c dvd,
     1227 * The choices are @p none (exit to shell), @c cdr, @c dvd,
    12281228 * @c tape, @c cdstream, @c udev (only when @p g_text_mode is TRUE), @c netfs,
    12291229 * and @c iso.
     
    12401240        char *title_sz = NULL;
    12411241        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 };
    12441244        char *outstr = NULL;
    12451245        char *instr = NULL;
     
    12891289        newtCenteredWindow(34, 17, minimsg_sz);
    12901290        b1 = newtButton(1, 1, "CD-R disks ");
    1291         b2 = newtButton(17, 1, "CD-RW disks");
    12921291        b3 = newtButton(1, 9, "Tape drive ");
    12931292        b4 = newtButton(17, 5, "USB Key/Disk");
     
    12971296        b8 = newtButton(17, 13, "    Exit   ");
    12981297        myForm = newtForm(NULL, NULL, 0);
    1299         newtFormAddComponents(myForm, b1, b5, b3, b7, b2, b4, b6, b8, NULL);
     1298        newtFormAddComponents(myForm, b1, b5, b3, b7, b4, b6, b8, NULL);
    13001299        b_res = newtRunForm(myForm);
    13011300        newtFormDestroy(myForm);
     
    13031302        if (b_res == b1) {
    13041303            output = cdr;
    1305         } else if (b_res == b2) {
    1306             output = cdrw;
    13071304        } else if (b_res == b3) {
    13081305            output = tape;
Note: See TracChangeset for help on using the changeset viewer.