Revision 3264ff12 vl.c

b/vl.c
1611 1611
        fprintf(stderr, "SDL support is disabled\n");
1612 1612
        exit(1);
1613 1613
#endif
1614
    } else if (strstart(p, "vnc", &opts)) {
1615
        display_remote++;
1616

  
1617
        if (*opts) {
1618
            const char *nextopt;
1619

  
1620
            if (strstart(opts, "=", &nextopt)) {
1621
                vnc_display = nextopt;
1622
            }
1623
        }
1624
        if (!vnc_display) {
1625
            fprintf(stderr, "VNC requires a display argument vnc=<display>\n");
1626
            exit(1);
1627
        }
1614 1628
    } else if (strstart(p, "curses", &opts)) {
1615 1629
#ifdef CONFIG_CURSES
1616 1630
        display = DT_CURSES;

Also available in: Unified diff