Revision f4918804

b/cocoa.m
855 855
    gArgc = argc;
856 856
    gArgv = (char **)argv;
857 857
    CPSProcessSerNum PSN;
858
    int i;
859

  
860
    /* In case we don't need to display a window, let's not do that */
861
    for (i = 1; i < argc; i++) {
862
        if (!strcmp(argv[i], "-vnc") ||
863
            !strcmp(argv[i], "-nographic") ||
864
            !strcmp(argv[i], "-curses")) {
865
                return qemu_main(gArgc, gArgv);
866
        }
867
    }
858 868

  
859 869
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
860 870
    [NSApplication sharedApplication];

Also available in: Unified diff