Subversion Repositories eduke32

Rev

Rev 4647 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4647 Rev 5380
Line 189... Line 189...
189
    if (startwin == nil) return 0;
189
    if (startwin == nil) return 0;
190
190
191
    [startwin setupRunMode];
191
    [startwin setupRunMode];
192
192
193
    switch ([nsapp runModalForWindow:[startwin window]]) {
193
    switch ([nsapp runModalForWindow:[startwin window]]) {
-
 
194
#ifdef MAC_OS_X_VERSION_10_9
-
 
195
        case NSModalResponseStop: retval = 1; break;
-
 
196
        case NSModalResponseAbort: retval = 0; break;
-
 
197
#else
194
        case NSRunStoppedResponse: retval = 1; break;
198
        case NSRunStoppedResponse: retval = 1; break;
195
        case NSRunAbortedResponse: retval = 0; break;
199
        case NSRunAbortedResponse: retval = 0; break;
-
 
200
#endif
196
        default: retval = -1;
201
        default: retval = -1;
197
    }
202
    }
198
203
199
    [startwin setupMessagesMode];
204
    [startwin setupMessagesMode];
200
205