Date:2011-04-29 18:33:11 (12 years 10 months ago)
Author:Werner Almesberger
Commit:f608e561a257242318d8ce97b71e98fa6defd02d
Message:ubb-vga2.c (main): fixed check for unknown resolution and call it "mode"

Files: ubb-vga/ubb-vga2.c (1 diff)

Change Details

ubb-vga/ubb-vga2.c
411411            for (mode = mode_db; mode->name; mode++)
412412                if (!strcmp(mode->name, optarg))
413413                    break;
414            if (!mode) {
415                fprintf(stderr, "no resolution \"%s\"\n",
416                    optarg);
414            if (!mode->name) {
415                fprintf(stderr, "no mode \"%s\"\n", optarg);
417416                exit(1);
418417            }
419418            break;

Archive Download the corresponding diff file

Branches:
master



interactive